AWS T3 Linux VM becomes unresponsive when CPU reaches 80%

0

I am running a t3 small instance on AWS. Whenever its CPU usage reaches 80%, it becomes unresponsive, and we are unable to access it via SSH. After stopping and starting the instance, everything comes back online. Here are the things I have checked:

I checked the logs, but there was nothing special in them. 2.The VM is already running in unlimited CPU mode, and we have more than enough credits(I have checked it ).

Any suggestion?

Graph for CPU credits and balance CPU credits

balance

asked a year ago232 views
2 Answers
0

If your AWS t3 small instance becomes unresponsive when the CPU usage reaches 80%, here are some suggestions to help you troubleshoot the issue:

Check the system resource usage: Use the CloudWatch monitoring service to check the resource usage of your instance. Specifically, look at the CPU utilization, memory utilization, disk usage, and network traffic. If any of these resources are being used heavily, it may be causing your instance to become unresponsive.

Check the system logs: Check the system logs for any error messages or warnings that may indicate a problem with the instance or its configuration. You can access the system logs by logging into the instance using SSH and checking the /var/log directory.

Check the network settings: Ensure that the network settings on your instance are configured correctly. Specifically, check the DNS settings and make sure that the instance can connect to the Internet and any other resources it needs.

Check the security group settings: Ensure that the security group settings for your instance are configured correctly. Specifically, check the inbound and outbound rules to ensure that they allow traffic to and from the necessary resources.

Check the instance type and size: If the instance is consistently becoming unresponsive when the CPU usage reaches 80%, it's possible that the instance type and size are not appropriate for your workload. Consider upgrading to a larger instance type or adding additional instances to handle the workload.

If none of these suggestions solve the issue, consider contacting AWS support for further assistance.

Thank you.

answered a year ago
  • Thank you for your answer , which instance type you would recommend ?

0

Thank you for your answer , which instance type you would recommend and can I open technical ticket with basic support plan ?

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions