スキップしてコンテンツを表示

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

質問済み 1年前236ビュー

2回答
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
エキスパート

回答済み 1年前

  • 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

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ