This is probably what you are experiencing:
http://help.opscode.com/discussions/problems/1174-memory-usage-goes-crazy-during-package-checking-package-status-apt
http://tickets.opscode.com/browse/CHEF-2947
The patch on the ticket fixed the issue for me :)
We experienced this on physical machines (lucid 64bit), it is a bit of a race condition by the looks.
Cheers,
Dave.
-----Original Message-----
From: "> [mailto: "> ]
Sent: Thursday, 8 March 2012 9:41 a.m.
To: ">
Subject: [chef] Resource consumption on chef-solo
Hey Chef Lists,
I am running chef-solo on the standard vagrant lucid32 box. My host OSes are either Mac Lion or Ubuntu (10.04 32 bit). I'm running into a serious resource consumption error and I'm wondering if you've seen this before.
Several of the larger packages in my setup (build-essentials, python-dev, a few
others) seem to freeze my computer. I got bored after watching both CPUs pegged and RAM full for 9 minutes. I've tested the actual apt instruction on the VM (i.e. apt-get install -q -y python-dev) and it runs very quickly. I've also run the exact same cookbooks on a VM on the Ubuntu host and found no problems.
Therefore, it appears to be a problem that only manifests on some machines running chef-solo in a virtual machine.
Any advice?
Thanks,
Tommy Guy
Wave Accounting
Archive powered by MHonArc 2.6.16.