Category: vagrant
-
CentOS 6 and VirtualBox (VBoxHeadless CPU Usage Fix)
**TL;DR:** Add "noapic" to your kernel line if your VBoxHeadless process uses far too much CPU. I've been working on making [space-efficient CentOS 5.6 and 6 images](https://github.com/smerrill/veewee-fun/) for [VirtualBox](http://www.virtualbox.org) recently. I'm building the images as part of a pilot program to start using [the Vagrant gem](http://vagrantup.com) to allow our developers to test the Drupal code they write on the real production OS before pushing it to the dev server. (I'm also learning Puppet, both for this project and as a way to more easily re-use tested configurations as we launch new sites.) The CentOS 5.6 images I made worked like a charm, but ran into a problem wherein the _VBoxHeadless_ process that hosted my CentOS 6 image would always use 25% CPU on my MacBook Air (one full core) despite the guest OS showing between 98% and 100% idle.» Continue reading this article.