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
demandé il y a 2 mois142 vues
2 réponses
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
EXPERT
Mike_L
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
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
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions