Troubleshooting High CPU Usage in Docker Containers on Linux

Hello

I am facing an issue with unexpectedly high CPU usage in my Docker containers running on a Linux server. The problem persists even when the containers are idle, and it causes significant performance drops on the host system. I’ve tried restarting the containers & the Docker service, but the CPU load remains unusually high. :upside_down_face:

Upon inspecting the system,;I’ve noticed that the high CPU usage is not tied to a specific application within the containers. Instead, the dockerd process itself sometimes spikes in resource consumption. I’ve also checked for runaway processes inside the containers; but nothing seems out of the ordinary. Additionally, the system logs don’t reveal any clear errors, making the root cause hard to pinpoint. :innocent: I have checked How to Use the Resource Usage Docker Extension Selenium guide for reference .

I am seeking guidance on how to effectively debug this issue. Are there any recommended tools or methods to monitor and analyze resource usage for Docker containers? :thinking:

Could it be a configuration problem / should I investigate compatibility issues with the host kernel or Docker version? Any advice on isolating and resolving this problem would be greatly appreciated.

Thank you ! :slightly_smiling_face:

Hello. How does this problem/question relate to DNS Forge service ?

The question is in the help forum, it’s not just about dnsforge.de here :wink:

Which software is it? Have you already been able to identify the individual containers?

So once there is ‘ctop’ to see which container makes so much CPU load there, or simply ‘docker stats’.

If you are looking for long-term monitoring, I recommend setting something like this up in conjunction with Grafana, but it is time-consuming.