When the EC2 instance status check is normal, the Linux terminal cannot be connected

0

AWS EC2 instance status check is successful, but the Linux terminal cannot be connected via SSH.And the self-built MySQL database is also down.According to the system log and MySQL error log, there is no abnormality. Similar problems have occurred before, and finally the instance needs to be restarted to solve it.

I want to know what caused it so that I can avoid the same problem from happening again in the future.

Best regards, Thanks!

preguntada hace un año283 visualizaciones
2 Respuestas
0

What instance type are you running? My guess would be the MySQL workload is gradually consuming more and more resources until it's reached a point that there's nothing left, and as a result the host is basically hanging.

Check the Monitoring tab for the instance in AWS Console, is there anything that looks like a cause for concern?

Unfortunately the EC2 section of the AWS Console doesn't display metrics for memory use, you'll need to setup CloudWatch agent to collect these https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html

profile picture
EXPERTO
Steve_M
respondido hace un año
0

r5.2xlarge,But no problems were found by checking /var/log/message, such as "OOM",,,

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas