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/

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南