Instability issue on my wiki

0

Hi! I have a doubt. I'm creating a wiki with MediaWiki software and I'm hosting it on AWS but my wiki is always going down and showing connection error:

ERR_CONNECTION_TIMED_OUT

I would like to know what will be the ideal configurations on the server to run the MediaWiki stably. I saw that my CPU is overloaded sometimes. I was using t3.micro instance. What AWS server requirements to run MediaWiki well would you recommend?

1 Answer
0

t3.micro have Burst CPU credits and can handle server load well if the server is intermittently access, but it cannot handle consistent loads well. In your case, the suspicion is that the CPU credits run out quickly thus causing page loading issues. ref: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html

If you have considerable consistent traffic, look for other instance types like c5 instances which have stable CPU performance and this will ensure your server is able to handle more load.

profile pictureAWS
Ray T
answered 2 years ago
  • Well, I still don't have any traffic because I'm at an early stage, testing things and etc. But it is weird because the graphs EBSWritesBytes and EBSWritesOps, EBSReadsOps either are having peak moments and I do not have any traffic. Do you know what it can be?

  • It would be hard to pinpoint by looking at the graphs, I suggest you use iotop in your linux (assuming linux) or task manager/resource monitor (in windows) to find our what application is eating your disk IO and thus causing cpu usage as well. It is a possibility that logging is writing to your disk constantly as well.

    iotop - https://www.geeksforgeeks.org/iotop-command-in-linux-with-examples/ Windows resource monitor - https://www.ghacks.net/2017/12/28/a-detailed-windows-resource-monitor-guide/

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions