Lightsail instance keeps timing out

0

Hi,

I have created a light sail instance which runs some basic Python scripts. However every now and then it just freezes and any SSH connection times out with the message: port 22: Operation timed out. I've also tested the browser-based SSH without any luck,

Restarting/Stopping and Starting helps for a short while until it starts timing out once again in a few days.

I do not run anything fancy, the Metrics show less than %1 CPU usage most of the time. Burst capacity has never been lower than %80.

I genuinely could not find any reason for this and would appreciate any help.

My instance specs are: 2 GB RAM, 2 vCPUs, 60 GB SSD Amazon Linux 2023 London, Zone A (eu-west-2a)

  • What exactly do your Python Scripts do?

ns
質問済み 2ヶ月前200ビュー
1回答
0

Hello.

Check the OS system logs when you are able to SSH into your Lightsail instance.
It is possible that the log that caused the connection to fail is being output.
For the Lightsail plan you are using, 20% CPU usage is the baseline throughput, so as you might expect, CPU may not have much to do with it.
Therefore, it may be a good idea to check whether there are any problems with memory usage, etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity.html#baseline-cpu-performance

profile picture
エキスパート
回答済み 2ヶ月前

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

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

質問に答えるためのガイドライン

関連するコンテンツ