Docker Community Forums

Share and learn in the Docker community.

CPU utilization 100% for docker deployed in my ec2

(Veridiant) #1


I’m working on a project which uses multiple docker container via kubernetes in an ec2 instance. Te maximum number of containers that are running at a time will be almost 22. The ec2 instance type that I’m using is m4.large with 8GB RAM and OS using is CoreOS. On checking the utilization details of my ec2, I can that the CPU utilization of my instance is 100% where as the read/write operation performed during this period is almost 0%.

On executing top command in my ec2 instance, I can see that the dockerd process is using huge amount of CPU compared to other process.
On checking docker stats, I can see that the overall cpu utilization never exceed more that 20%

Can someone help me to understand whats causing this issue.

Thanks In advance.