VirtualBox headless caused high CPU load on Mac OS X
When I run a CentOS linux VM on VirtualBox in headless mode the CPU continuously spikes up to about 80% for a couple of seconds at a time with a short 1 or 2 second gap and then does it again. Even with the machine idling, no other application running and the CentOS system doing nothing. If I change it and run it normally, e.g. head mode, then this effect doesn't happen. It would appear to be the opendirectoryd, cfprefsd and notifyd along with the VBoxHeadless process causing the majority of the load during the spikes.
I have tried this on two MacBook Pro's both running Mac OS X 10.9.3 and it has the same effect on both.
Has anyone else observed this behaviour and know how to prevent it?
macos virtualbox mac headless
migrated from serverfault.com Jun 21 '14 at 9:39
This question came from our site for system and network administrators.
add a comment |
When I run a CentOS linux VM on VirtualBox in headless mode the CPU continuously spikes up to about 80% for a couple of seconds at a time with a short 1 or 2 second gap and then does it again. Even with the machine idling, no other application running and the CentOS system doing nothing. If I change it and run it normally, e.g. head mode, then this effect doesn't happen. It would appear to be the opendirectoryd, cfprefsd and notifyd along with the VBoxHeadless process causing the majority of the load during the spikes.
I have tried this on two MacBook Pro's both running Mac OS X 10.9.3 and it has the same effect on both.
Has anyone else observed this behaviour and know how to prevent it?
macos virtualbox mac headless
migrated from serverfault.com Jun 21 '14 at 9:39
This question came from our site for system and network administrators.
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17
add a comment |
When I run a CentOS linux VM on VirtualBox in headless mode the CPU continuously spikes up to about 80% for a couple of seconds at a time with a short 1 or 2 second gap and then does it again. Even with the machine idling, no other application running and the CentOS system doing nothing. If I change it and run it normally, e.g. head mode, then this effect doesn't happen. It would appear to be the opendirectoryd, cfprefsd and notifyd along with the VBoxHeadless process causing the majority of the load during the spikes.
I have tried this on two MacBook Pro's both running Mac OS X 10.9.3 and it has the same effect on both.
Has anyone else observed this behaviour and know how to prevent it?
macos virtualbox mac headless
When I run a CentOS linux VM on VirtualBox in headless mode the CPU continuously spikes up to about 80% for a couple of seconds at a time with a short 1 or 2 second gap and then does it again. Even with the machine idling, no other application running and the CentOS system doing nothing. If I change it and run it normally, e.g. head mode, then this effect doesn't happen. It would appear to be the opendirectoryd, cfprefsd and notifyd along with the VBoxHeadless process causing the majority of the load during the spikes.
I have tried this on two MacBook Pro's both running Mac OS X 10.9.3 and it has the same effect on both.
Has anyone else observed this behaviour and know how to prevent it?
macos virtualbox mac headless
macos virtualbox mac headless
asked Jun 20 '14 at 18:48
andrewdixonandrewdixon
11914
11914
migrated from serverfault.com Jun 21 '14 at 9:39
This question came from our site for system and network administrators.
migrated from serverfault.com Jun 21 '14 at 9:39
This question came from our site for system and network administrators.
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17
add a comment |
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17
add a comment |
1 Answer
1
active
oldest
votes
I'm seeing this with both headless and normal mode.
A workaround for me is just to stop opendirectoryd:
sudo launchctl stop com.apple.opendirectoryd
Sadly, something restarts it.
This config tweak is currently working for me: https://superuser.com/a/426719/418576
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f771628%2fvirtualbox-headless-caused-high-cpu-load-on-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm seeing this with both headless and normal mode.
A workaround for me is just to stop opendirectoryd:
sudo launchctl stop com.apple.opendirectoryd
Sadly, something restarts it.
This config tweak is currently working for me: https://superuser.com/a/426719/418576
add a comment |
I'm seeing this with both headless and normal mode.
A workaround for me is just to stop opendirectoryd:
sudo launchctl stop com.apple.opendirectoryd
Sadly, something restarts it.
This config tweak is currently working for me: https://superuser.com/a/426719/418576
add a comment |
I'm seeing this with both headless and normal mode.
A workaround for me is just to stop opendirectoryd:
sudo launchctl stop com.apple.opendirectoryd
Sadly, something restarts it.
This config tweak is currently working for me: https://superuser.com/a/426719/418576
I'm seeing this with both headless and normal mode.
A workaround for me is just to stop opendirectoryd:
sudo launchctl stop com.apple.opendirectoryd
Sadly, something restarts it.
This config tweak is currently working for me: https://superuser.com/a/426719/418576
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Mar 3 '15 at 10:54
Chris WithersChris Withers
1013
1013
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f771628%2fvirtualbox-headless-caused-high-cpu-load-on-mac-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you ever figure out how to fix this? My MBA sounds like a jet engine when I am using Ubuntu server in Virtual Box. I checked the server stats and it is using very little processor power.
– ATLChris
Feb 22 '15 at 14:59
Only solution was to not use it in headless mode.
– andrewdixon
Feb 22 '15 at 15:00
Same problem, has anyone reported this as a bug to the VirtualBox folk?
– Chris Withers
Mar 3 '15 at 10:25
@andrewdixon how can I run without the headless mode?
– user54098
Jun 16 '16 at 19:17