VBoxHeadless reliably eating 100% CPU
Posted: 25. Jun 2015, 15:09
Hi all,
Summary
When I start the VM up, everything is fine. However, at some point, the VBoxHeadless process will start eating ~103% CPU indefinitely on the host. There will be virtually no activity in the guest -- less than 1% CPU usage -- but VBoxHeadless will just grind away forever.
[Edit Aug 3, 2015] We're not sure what causes this. It appears to be network activity, a suspicion that's supported in the thread below.
System Details
* Host: Macbook Pro 2.7 GHz Intel Core i7, 16gb, SSD, OS X Yosemite 10.10.3
* Guest: Ubuntu 14.04 (the ubuntu/trusty64 Vagrant box)
* Virtualbox 4.3.28
* Vagrant 1.6.5
[Edit Aug 3, 2015] Condition also exists on Virtualbox 5 / Vagrant 1.7.4
What I've Tried
* Started out with NFS mounts. Tried rsync instead to see if it would help. No luck.
* Killing off processes one by one in the guest. Though I may have missed something.
* Disabling Nested Paging in Virtualbox.
* Vagrant suspend/resume cycles.
* Setting the cpuexecutioncap to 50. VBoxHeadless still ran at >100% CPU.
* Allocating 1, 2, and 4 CPUs. No difference.
* Killing my IDE (PyCharm, which does heavy I/O from time to time).
* Starting a separate dummy VM (recommended in old posts about a similar issue).
* Installing the vagrant-vbguest plugin to ensure guest additions are up to date.
Any thoughts? I want to get my team up and running on this soon, but this is a blocker.
Thanks for your time!
Harvey
Summary
When I start the VM up, everything is fine. However, at some point, the VBoxHeadless process will start eating ~103% CPU indefinitely on the host. There will be virtually no activity in the guest -- less than 1% CPU usage -- but VBoxHeadless will just grind away forever.
[Edit Aug 3, 2015] We're not sure what causes this. It appears to be network activity, a suspicion that's supported in the thread below.
System Details
* Host: Macbook Pro 2.7 GHz Intel Core i7, 16gb, SSD, OS X Yosemite 10.10.3
* Guest: Ubuntu 14.04 (the ubuntu/trusty64 Vagrant box)
* Virtualbox 4.3.28
* Vagrant 1.6.5
[Edit Aug 3, 2015] Condition also exists on Virtualbox 5 / Vagrant 1.7.4
What I've Tried
* Started out with NFS mounts. Tried rsync instead to see if it would help. No luck.
* Killing off processes one by one in the guest. Though I may have missed something.
* Disabling Nested Paging in Virtualbox.
* Vagrant suspend/resume cycles.
* Setting the cpuexecutioncap to 50. VBoxHeadless still ran at >100% CPU.
* Allocating 1, 2, and 4 CPUs. No difference.
* Killing my IDE (PyCharm, which does heavy I/O from time to time).
* Starting a separate dummy VM (recommended in old posts about a similar issue).
* Installing the vagrant-vbguest plugin to ensure guest additions are up to date.
Any thoughts? I want to get my team up and running on this soon, but this is a blocker.
Thanks for your time!
Harvey