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

Hyperkit heavy system load when nothing runs #58

Closed
clemens-tolboom opened this issue Sep 12, 2016 · 10 comments
Closed

Hyperkit heavy system load when nothing runs #58

clemens-tolboom opened this issue Sep 12, 2016 · 10 comments

Comments

@clemens-tolboom
Copy link

I had some heavy load of com.docker.hyperload (fan blows) reporting in Activity Monitor once 100% and once 200% on (4 cores/8 threads)

There are no containers running.

What can I do to report this better when this happens again?

@ijc
Copy link
Collaborator

ijc commented Sep 12, 2016

Hi @clemens-tolboom,

Thanks for your report.

What version of OSX are you running? 10.10 has at least one issue with the Hypervisor framework / OSX kernel which affects some subset of users this way (the vast majority of the reports of this behaviour are of this issue, but other 10.10 users seem to never see it). If you are seeing this issue and are running I would strongly recommend updating to 10.11.

If you are running something newer than 10.10 then collecting a spindump and/or sample from the Activity Monitor might be helpful, as would grabbing any interesting traces using Instruments (IIRC the "System Trace" one looked like it would be the most interesting for this, but there might be others, I'm not super familiar with it).

Ian.

@clemens-tolboom
Copy link
Author

I'm running 10.11.6

osx-10 11 6

When it happens again I'll try to create both
process-dump

  • spindump
  • sample
  • system trace sudo dtruss -p 30741

I guess will/should mail the reports.

@clemens-tolboom
Copy link
Author

clemens-tolboom commented Sep 13, 2016

hyperkit-58-sample.txt

@clemens-tolboom
Copy link
Author

@clemens-tolboom
Copy link
Author

I'm not 100% sure these files are from a active hyperkit ... I assumed it was hyperkit when my fan start spinning so do not waste too much time when puzzling the files.

@ijc
Copy link
Collaborator

ijc commented Sep 13, 2016

Thanks for the reports, it would be useful if you could confirm that hyperkit is actually responsible for the fans spinning up before I spend too much time digging into this.

Also I should have asked this before (sorry), but please could you also upload a D4M diagnostic by clicking "Diagnose & Feedback..." in the whale menu, then "Diagnose & Upload" and then open a new issue against docker/for-mac.

The reason for the new issue is that on some older versions of Docker 4 Mac the upload doesn't actually happen until you click the button to open an issue on docker/for-mac and I don't know which version you are running (and I can't remember when this behaviour changed in any case).

Lastly, does the high CPU usage persist for an extended period of time or does it just last a short while?

@clemens-tolboom
Copy link
Author

Guess the files are ok as after restarted the same 3 containers (from https://github.com/aegir-project/development)

hyperkit-58-activity

Load of hyperkit max was ~ 168%

The load is high for more then 5 minutes.

docker-version

I will try to reproduce more precise. Please note I'm a novice docker user trying mentioned project.

@ijc
Copy link
Collaborator

ijc commented Sep 13, 2016

Please bear in mind that any activity within the containers will be reflected in macos as load in the hyperkit process, so if those containers are busy for any reason then some load from the hyperkit process is completely expected.

@ijc
Copy link
Collaborator

ijc commented Sep 21, 2016

I think this will be best addressed over in https://github.com/docker/for-mac. Please do open an issue there along with the diagnostics upload mentioned above.

@ijc ijc closed this as completed Sep 21, 2016
@jedie
Copy link

jedie commented Jun 23, 2017

This issues still exist. See:

docker/for-mac#1759
docker/for-mac#1568

and many "confirm" posts here: https://forums.docker.com/t/com-docker-hyperkit-up-cpu-to-340/13057

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

No branches or pull requests

3 participants