Hi,

On Thu, 2010-06-10 at 17:02 +1000, Nat wrote:
> Hi,
> 
> I am running puppet on my machines (mainly all rhel 5) and notice that
> puppet is waking the CPU up between 90 - 100 times a second. 
> 
> Is this normal?? it is waking the CPU up more than the kernel itself
> (when not under load)!! 
> 
> All puppet instances run as a daemon. Just as a test I also get the
> same results using red hat 6 beta. 

It is not normal and comes from an issue in the Ruby interpreter (MRI)
when compiled with --with-pthread.

If you rebuild your ruby interpreter without this option (or use Ruby
Enterprise Edition), there is no more any background CPU consumption
when puppet sleeps between runs (and puppet runs faster too).

More information (see the last comment):
http://projects.puppetlabs.com/issues/1781

Hope that helps,
-- 
Brice Figureau
Follow the latest Puppet Community evolutions on www.planetpuppet.org!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to