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달 전

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

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

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

관련 콘텐츠