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
posta 2 mesi fa140 visualizzazioni
2 Risposte
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
ESPERTO
Mike_L
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande