-
Notifications
You must be signed in to change notification settings - Fork 118
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
Reopen: CPU 100% usage with hyperkit - https://github.com/docker/for-mac/issues/3499 #5044
Comments
Same for me but without K8s. |
Same problem, com.docker.hyperkit running at 160% for me causing a huge system slow down on mac os. Internal containers never rising above 1 or 2% CPU Always sits above 100%. Issue #4981 also covered this in Docker 2.4.0.0 and has been closed as fixed. Docker 2.5.0.0 is the same, I don't believe this is fixed. |
I have some random cpu spikes while not running any container. |
Same here. So far lowest CPU usage when idling (no containers, no stats, no k8s) been around 25% |
I got the same situation. No running containers, but com.docker.hyperkit eats CPU for 30-40% without any visible reason. |
i'm seeing similar behavior. i tried restarting docker desktop and disabling k8s, but the oddly high cpu usage persists, even when docker is completely idle and has no containers running. digging a bit deeper:
the |
Same here, CPU usage is double what it was on 2.4 with the same set of containers, and pretty much idle. |
Hey friends, hope y'all don't mind me joining in the fun:
In addition, the related containers (used for local web development) are now painfully slow to respond. |
For those looks to downgrade, d/l links to previous versions can be found here: https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-community-2400 |
Downgrading to version 2.4 worked for me. from 80-100% cpu now I have 30-40% with same container! the fans are finally quiet!! i was going mad lol |
Thank you to the people who have included diagnostics ids in your replies. To everyone else, we cannot investigate without diagnostics so please upload them and paste the id here. Thank you. |
Just updated to 2.5.0.1 and com.docker.hyperkit is idling around 19% CPU with Kubernetes disabled. |
Updated to 2.5.0.1, same as @jgillard: ~19% after |
|
2.5.0.1 brought it down to ~40% CPU while idle, with k8 disabled. 45CA452F-5560-4DFA-A42C-1A54CB02EA9A/20201110125807 |
Here is the logs for 2.5.0.1 with k8 enable.. ~65% CPU 45CA452F-5560-4DFA-A42C-1A54CB02EA9A/20201110130357 |
2.5.0.1 - Upgraded from 2.4 Installed Docker update at 17:25 yesterday UpdateRebooted and with no containers + no other major programs running - system idles at about 15-20% CPU usage from docker Diag Id: B48FB34F-0FAA-4574-9310-2EC5646C161E/20201111140742 |
Same for me. I was on 2.3.0.x and it was like 6% cpu on my MBP 16 idle. yesterday upgraded to 2.5.0.1 it is 15-25% with no container running ... Diag ID: E49B79C6-D217-4220-88E8-9A683BEB3983/20201111132021 |
com.docker.hyperkit using ~70% cpu while idling: |
I'm getting this as well 10-20% with 0 containers running |
I am at about 85-90% with no containers running. |
FYI: Downgraded like some other people to 2.4.0.0 and now things back to "normal" 5% with no containers running. MBP 16, 10.15.7 |
FYI, 2.5.0.1 has so far solved the issue for me. Containers run at 10%. Will keep an eye on it. |
2.5.0.1 still exhibiting 15-20% cpu usage for me with a single running postgres container. Diagnostic ID: 58A45276-4B8F-490D-888F-C58FA48962A2/20201111231306 |
Same here, 20% with no containers running. 0F242532-14F7-4473-BE3D-C8ECF0B08A4C/20201112035502 |
2.5.0.1 didn't solve the problem for me. Same behaviour (80% CPU with nothing running) |
I have the same issue. Docker is idle, no containers running but still get high CPU usage. OS: macOS Big Sur (11.0.1) |
The offcial versions 2.5.0.1, 2.4.0, 2.3.0.4 had very high cpu usage on my system. Only 2.4.2 worked so far. MacOS 10.14.6, MacBook Pro 3,1 Ghz i7 (4 Cores, 8 Hyperthreads) 16GB |
Can definitely confirm that version 2.5.4 works as expected with less than 10% CPU usage while Docker is idling. |
Day with new Docker experimental build - |
I'm on the latest version and I'm seeing Docker continually using at least 20% of one of my mac laptops CPU cores, even though I have no running containers. It's very annoying. Here is the bug I originally filed. #5102 (comment) |
@ScottPierce Please try the experimental build posted at #5044 (comment). |
2.5.4 is now released and fixes this bug, so I'll close this ticket. (NB it's not the same build as people posted above, that was a development build). If you're on the Stable channel, we're planning a release including this later this week. |
If there are other CPU problems after this week's releases, then please open a new ticket with new diagnostics. Thanks. |
For those subscribed / following along, I just saw that version 3.0.0 was released today and includes the fix for this bug: https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-community-300 |
The release notes there say the kernel was downgraded; was that the fix? From #5044 (comment) I got the impression that there was a fix for the newer kernel. Just curious. |
Yes, the kernel was downgraded. We didn't manage to find a fix for the new kernel yet. |
3.0.0 is amazing! Thanks! Sure, I'm still seeing 20-30% CPU (with K8S but no pods), but the fan is finally quiet. |
Hey team - just chiming in here. Docker now idles at ~6% when not running anything. Thank you so much. |
Finally, I can get rid of docker-toolbox :D |
I'm running 3.0.1(50773) & idle usage is ~10% which is much better than previous versions. |
Can you please confirm the 2.5.4 is official build? I cant see it in https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-community-2501 |
2.5.4 was an Edge build, and we have since merged the Edge and Stable channels. The first Stable release with the fix was 3.0.0, but that had other problems so I would recommend upgrading to the latest release, 3.0.4. |
Im glad to confirm after installing 3.0.4 (and Mac restart) my funs calmed down (CPU on 20%) |
Great, thanks for the confirmation. |
I'm on docker 3.0.4, macOS Big Sur 11.1, MacBook Pro 2018. |
I'm running into the same issue as @mr-bjerre . Strange thing is this started yesterday for no apparent reason -- I didn't upgrade or anything (though since then, I've downgraded to a few different versions with no success). 3A821997-CEC3-46AD-8153-C0332678178C/20210115012149 |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
After yesterday upgrade, the issue has come back.
I have found the old issue in
#3499
I have uploaded a diagnose package with ID:
14953D49-8102-48BD-8964-94B55CD0862B/20201104094416
Expected behavior
Actual behavior
com.docker.hyperkit runs with 90% CPU forever
Information
Please, help us understand the problem. For instance:
Is it reproducible? Yes, it reproduced after restart
Is the problem new? Found old bug related (com.docker.hyperkit 100% cpu usage is back again #3499)
Did the problem appear with an update? Yes, after recent update
macOS Version: 10.15.7
Diagnostic logs
Steps to reproduce the behavior
Simply start docker (in my case, with K8s
The text was updated successfully, but these errors were encountered: