EC2 instance High CPU Load Issue

0

Hi,

I am using an EC2 instance m6a.xlarge with a 4-core CPU and 16 GB RAM as my DB server. My app server is also in the same configuration.

I have noticed that my DB server's CPU load average is suddenly spiking to 26, whereas the normal load would always be less than 0.5 to 1. I am running MySQL server version 8.0.36-0ubuntu0.22.04.1 for Linux on x86_64 (Ubuntu). Additionally, I have observed that some processes of MySQL are going into the D state (uninterruptible sleep) when I checked in htop. Furthermore, my application log indicates "Unable to acquire JDBC Connection" despite having enough connections available in the MySQL connection.

I need your help in identifying the problem and resolving it.

Surya H
已提問 3 個月前檢視次數 117 次
1 個回答
0

Processes in a "D" or uninterruptible sleep state are usually waiting on I/O. You may need to check the health of your disks to determine if there are any issues there. Ensure that the EBS volumes are not exceeding limits for IOPS or throughput as they could be throttled. You can refer to this article to determine this; https://repost.aws/knowledge-center/ebs-identify-micro-bursting

AWS
已回答 2 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南