By using AWS re:Post, you agree to the AWS re:Post Terms of Use

AWS EC2 T2 Medium Performance Issue

0

Hello,

I have AWS EC2 T2 Medium in Customer Environment which has Linux OS (Debian). We are facing issue of high system load at every 2/3 hours on that machine. During high system load, CPU/RAM/Disk I/O/Network I/O looks normal as per top/vmstat/atop/cloudwatch/iotop/iftop. Customer is asking for RCA but we don't have RCA for the same. Apart from that we don't have AWS console access as well from where we can raise AWS Support Case. Please Guide me to findout RCA for this case.

Note:- CPU Credits are also normal and CPU utilization is at baseline as per AWS Guideline of T instances.

Regards, Ashish Pandya

asked 23 days ago61 views
1 Answer
0

Based on the information provided, it seems you're experiencing a complex performance issue with your AWS EC2 T2 Medium instance. While the CPU credits and utilization appear normal, there are a few potential areas to investigate for the root cause analysis (RCA) of the high system load occurring every 2-3 hours:

  1. Application-specific issues: The high system load might be caused by periodic tasks or processes running on the instance. Review your application logs and scheduled tasks to identify any resource-intensive operations that occur at regular intervals.

  2. Memory constraints: Although you mentioned RAM looks normal, T2 Medium instances have limited memory (4 GB). Ensure that your applications are not hitting memory limits, which could cause increased swap usage and higher system load.

  3. I/O bottlenecks: Even though disk I/O appears normal in your monitoring tools, there might be short bursts of I/O activity causing temporary spikes in system load. Consider using more detailed I/O monitoring tools or analyzing system logs for I/O-related issues.

  4. Network-related issues: Investigate if there are any network-intensive operations or external services that your instance interacts with every 2-3 hours, which could contribute to the increased system load.

  5. Kernel or OS-level issues: Check for any recurring system processes, log rotations, or maintenance tasks that might be causing the periodic load increases.

  6. Instance type limitations: T2 instances are burstable performance instances. Although you mentioned CPU credits are normal, consider if the workload might be hitting other limits of the T2 Medium instance type.

To further investigate:

  1. Set up more granular monitoring using the CloudWatch agent to collect detailed system-level metrics.

  2. Analyze system logs and application logs around the times when high system load occurs.

  3. Use Linux performance analysis tools like 'sysstat' to gather more comprehensive system statistics.

  4. Consider temporarily upgrading to a larger instance type to rule out resource constraints.

  5. If possible, work with the customer to gain AWS console access or have them open an AWS support case for more in-depth analysis.

Without direct access to the AWS console and more detailed metrics, pinpointing the exact cause may be challenging. However, these steps should help narrow down the potential causes and provide a path for further investigation.

Sources
Amazon EC2 T2 Instances – Amazon Web Services (AWS)
Performance - AWS Support
Problem with ec2 | AWS re:Post

profile picture
answered 23 days ago
profile picture
EXPERT
reviewed 23 days 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