Skip to content

Lightsail instance CPU utilization and burst capacity

0

It's happening more often now in recent weeks that as soon as the CPU hits above the sustainable zone my server immediately crashers and stops responding. I want to understand the Remaining CPU burst capacity as it seems it's a useless feature because it does not provide allowance when the CPU goes in the burstable zone.

See attached image where it goes over the burstable zone and burst capacity is still around 100% but during this time, the server is not responding at all and I had to stop and start the server.

Please can you provide some explanation?

Metric graph

asked a year ago200 views

2 Answers
0

How is memory usage on the box? If you are running out of memory, the CPU utilization may be driven by either swapping or OOM (out of memory killer) killing apps and them restarting. Might be wise to step up to the next larger instance size and monitor.

AWS
EXPERT

answered a year ago

  • I don't think this answers the question. There are maybe a number of things that could exhaust the CPU like what you mentioned that can result it reaching the burstable zone. However, as you can see on the screenshot I provided, my CPU burst capacity was still on almost 100% when it went to the burstable zone. I would expect that my server should still be operable until the burst capacity is depleted. For a feature that is there and you can see but doesn't do the job is false advertising in my opinion.

0

I don't understand the way the AWS presents this information either, but I had very similar symptoms and in my case it DID turn out to be memory. I noticed that, out of the box, my Ubuntu instance had no swap space. I configured some (with swappiness=10) and it solved my problem. I did something close to what was recommended here:

https://blog.adrianrubico.com/post/Boosting-AWS-Lightsail-Performance-with-Swapon-to-Save-Your-Low-RAM-Instance

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.