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.

질문됨 2년 전326회 조회
2개 답변
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
지원 엔지니어
답변함 2년 전
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
답변함 2년 전

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

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

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