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달 전115회 조회
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
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠