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
posta 2 mesi fa200 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande