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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠