Cpu Bursts whenever i upload images on the website. I upload 17 or 18 bulk images and cpu capacity bursts and website gets down for half an hour to 2 hours.

0

i have 20$ lightsail plan. 4gb ram, 2vcpu . whenever i upload images to the website in wordpress , Cpu usage of lightsail gets high and website gets down for half an hour to 2 hours almost. I don't know the reason . under 5$ and 10$ plan i had the same issue, but i upgraded to 20$ plan and still same issue.

demandé il y a un an301 vues
2 réponses
0

Hello, It appears that you are running out of resources on that very small instance.

You have two options, bump up to a larger instance that can handle the load, or figure out if there's anything you can eliminate to reduce the resources you are using.

The easiest thing to do is option number one. Take a snapshot of your instance and then restore it to a "bigger" Lightsail instance type and see if that keeps you out of the "CPU burstable zone".

You can monitor the burst capacity by following the steps in this blog: https://aws.amazon.com/blogs/compute/proactively-monitoring-system-performance-on-amazon-lightsail-instances/ -- [1]

profile pictureAWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a un an
0

Wordpress is pretty bad at multiple image upload - it's using lots of RAM doing this and will lock up the instance if multiple uploads are done in parallel because of the memory exhaustion.

You'll need to see how to tune up its memory usage, there are many things that can be attempted depending on your case.

AWS
répondu il y a un an

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