[chef] Re: Re: chef on windows uses 100% CPU


Chronological Thread 
  • From: " " < >
  • To:
  • Subject: [chef] Re: Re: chef on windows uses 100% CPU
  • Date: Mon, 17 Sep 2012 22:19:48 +0200

Hi Adam,

only one simple cookbook:

http://community.opscode.com/cookbooks/getting-started    (0.4.0)



node.json:

"run_list": [ "getting-started" ]



2012/9/17 Adam Jacob < " target="_blank"> >
What are the cookbooks/run-list? This is very odd.

Adam


Hi,

I'm currently testing chef (chef-solo) on windows to convince the windows guys of chef.

But unfortunately a chef-solo run produces 100% CPU usage.

The whole execution time is not really important to me (at the moment 12 seconds with the "getting-started" cookbook),

but what's critical is that the chef/ruby process eats up the whole cpu and therefore blocks the whole system.

I've disabled a few ohai plugins, but that doesn't change everything. Also it's not an disk I/O - problem , it's pure CPU usage.


I've tried to limit the cpu usage of the chef/ruby process to 50% (with Windows System Resource Manager), but no luck.


Is there any possibility to limit the cpu usage of the ruby process so that a chef-run doesn't block the whole system ? (i can't convince the windows guys of
chef if chef(or ruby) is blocking the whole system ...)



Windows Server 2008 R2 SP1 x64
1vCPU, 2GB RAM

Chef 10.14.2 (http://opscode.com/chef/install.msi)








Archive powered by MHonArc 2.6.16.

§