Lightsail with 4 Wordpress sites stalling with high CPU load?

0

Hi all,

I have a Lightsail instance running Nginx with two Wordpress websites. One of the websites also has two subdomains running separate Wordpress sites for staging/testing purposes. All are very low traffic. Several times the server has stopped responding so I checked the metrics to see what might be happening. I looks like the cpu utilization climbs into the burstable zone then stops responding. It doesn't come back when I reboot but does when I restart.

Any advice?

Lightsail 2 GB Memory / 2 vCPUs** / 60 GB SSD Disk /3 TB Transfer*

Charlie
已提问 2 个月前140 查看次数
2 回答
1

Lightsail instances comes with a baseline amount of CPU performance, but also have the ability to temporarily provide additional CPU. This is referred to as bursting.

As per documentation, The Linux or Unix .... (2 vCPUs, 2 GB memory, 60 GB storage) instance plans include a 20% CPU utilization performance baseline.

Your instance will use all of its burst capacity if it operates in the bursting zone frequently, or for extended periods of time. This can signify that your instance is under-provisioned. It could also be that a service is running too frequently, or your instance is running unnecessary software.

You may want to Troubleshoot high CPU utilization

AWS
专家
Mike_L
已回答 2 个月前
profile picture
专家
已审核 2 个月前
0

Hello.

The Lightsail plan you are using starts to burst at CPU usage above 20%, so I believe that if you host 4 websites within one instance, CPU usage will easily exceed 20%.
Therefore, it may be necessary to take measures such as dividing Lightsail instances for each website or migrating to EC2 etc., although the cost will increase.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity.html

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前

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

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

回答问题的准则