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?

已提问 2 年前242 查看次数
1 回答
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
已回答 2 年前
  • 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/

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则