-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#36519 causes daemon to continually spin CPU #36608
Comments
Guess we need a moby/daemon/stats/collector.go Lines 104 to 106 in 623b1a5
moby/daemon/stats/collector.go Lines 109 to 112 in 623b1a5
Alternatively, put the |
Is there any error logged? The difference here is that it can fail for each pair. What is the actual error preventing the sampling of cpu usage? |
Ok, I see. There needs to be a sleep after the continue when no stats are being sampled. |
I'll open a PR, putting the sleep at the start (discussing with @stevvooe on slack) |
Opened #36609 |
#36519 changed daemon/stats/collector.go so that
Run()
sits in a tight loop spinning the CPU. Just starting the docker daemon is enough, no client operations neededIt spins as follows:
@stevvooe @thaJeztah
The text was updated successfully, but these errors were encountered: