Skip to content
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 #2081 as it is still an issue (was closed as stale, can't reopen myself) #3218

Open
astyagun opened this issue Sep 12, 2018 · 20 comments

Comments

@astyagun
Copy link

#2081

@drdaz
Copy link

drdaz commented Sep 19, 2018

Is there any way I can help debug this?

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@thecodedrift
Copy link

thecodedrift commented Dec 18, 2018

/remove-lifecycle stale

This bug is still happening as of 18.09.0 (git 4d60db4)

  • I have tried with the latest version of my channel (Stable or Edge)

  • I have uploaded Diagnostics

  • Diagnostics ID: 43B423E5-2F69-4C5E-97A4-6B156096A7F1/20181218025822

  • OSX Version: 10.14.1 (18B75)

  • Machine: MacBook Pro (Retina, 15-inch, Mid 2014)

  • Is it reproducible? yes

  • Is the problem new? no Docker consumes energy when no containers are running #2081

  • Did the problem appear with an update? unsure

Edit - @astyagun are you running the Kubernetes containers by chance? By default, the kube containers won't show in docker ps unless you've opted in to "Show system containers". Kubernetes runs containers in the background that use hyperkit, and if #3065, #1759, and #2582 are any indication, that might be the culprit.

@astyagun
Copy link
Author

are you running the Kubernetes containers by chance?

@jakobo Nope, no Kubernetes

@hovsater
Copy link

hovsater commented Jan 5, 2019

I'm seeing the same thing. Brand new MacBook Pro, running Mac OS 10.14.2. No containers running but Docker for Mac idle on about 10-12 in energy consumption. This is on version 2.0.0.0-mac81.

Diagnose ID: 6F446881-F1CA-4FCD-8225-45830FEFF07C/20190105075102

@balboah
Copy link

balboah commented Feb 4, 2019

Same here, fresh install. No Kubernetes or any other custom settings other than defaults.
Diagnose ID: 9D0DD3DC-3ABE-4FFB-8B0A-8FB663830769/20190204195044

@t-patt
Copy link

t-patt commented Feb 6, 2019

+1
Diagnose ID: F9B6AC00-5131-4DB5-8A2E-FB2BC46600C3

@dougc84
Copy link

dougc84 commented Feb 17, 2019

2018 MBP, 2.2 GHz i7, 16 GB RAM, constant 9 on energy impact when nothing is running. Hyperkit is using 6-7% CPU when nothing is running. I also allocate 4 GB RAM and Hyperkit is using 7.42 GB. Using Docker Desktop 2.0.0.3 w/ engine 18.09.2.

@gregtzar
Copy link

gregtzar commented Mar 22, 2019

Same issue. Fresh/default install of Docker Desktop, Version 2.0.0.3 (31259) on brand new 2018 MBP with MacOS 10.14.3 (18D109).

With no containers running, the Activity Monitor averages the following:

  • Energy Impact: com.docker.supervisor: ~7
  • CPU: com.docker.hyperkit: ~5%
  • Memory: com.docker.hyperkit: ~2.79 GB

Drained my battery 12% while computer was sleeping overnight.

Diagnose ID: BCCE2746-C07F-44C7-B298-5AD9385CE43C/20190322144202

@evanmcclure
Copy link

I guess the only thing we can do is to turn off Docker for Mac when it's not in use. It's not the best solution, but it seems to be the only thing we can do until Docker finally fixes the issue.

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@astyagun
Copy link
Author

astyagun commented Jul 4, 2019

/remove-lifecycle stale
/lifecycle frozen

@drdaz
Copy link

drdaz commented Oct 8, 2019

I upgraded to Catalina this afternoon.

At the risk of jinxing it, Docker's Energy Impact has been idle pretty close to 0 for the past hour or so, despite actually having a few containers running.

🤞🏼

@astyagun
Copy link
Author

Energy impact may be smaller for me now, but it's still not at zero. It's a bit more hidden in Catalina now, need to open triangles on the left to see it:

Снимок экрана 2019-10-11 в 17 04 18

@drdaz
Copy link

drdaz commented Oct 11, 2019

Unfortunately I've had to restore to Mojave since Catalina KPs when 2 external monitors are attached.

But CPU usage for hyperkit also seemed consistently lower in Catalina; not 0, but low. Like 3-4% of 1 core running 4 containers. I felt ok with that.

Btw, doesn't it seem like a bug that a subprocess can have an energy impact of 2.9 while the spawning process sits at 0? EDIT: Or does the umbrella process weight the underlying ones somehow? 🤷🏽‍♂️

@lionello
Copy link

lionello commented Feb 5, 2020

YMMV, but I got some success by changing two settings: changed number of CPUs down to 2 and changed debug setting to false (both can be done in the settings pages). This seems to have stopped the crazy energy use:
image

@evanmcclure
Copy link

evanmcclure commented Feb 5, 2020 via email

@nicc777
Copy link

nicc777 commented Feb 12, 2020

YMMV, but I got some success by changing two settings: changed number of CPUs down to 2 and changed debug setting to false (both can be done in the settings pages). This seems to have stopped the crazy energy use:
image

Can confirm this worked for me.

@stalkerg
Copy link

I have same problem even on linux directly. conteinerd do something constantly.

@thiagofigueiro
Copy link

YMMV, but I got some success by changing two settings: changed number of CPUs down to 2 and changed debug setting to false (both can be done in the settings pages). This seems to have stopped the crazy energy use:
image

On Catalina 10.15.6 and docker desktop 2.3.0.4 (46911), Engine 19.03.12.

Making the above changes had no results. com.docker.hyperkit still oscillates between 40 and 70.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests