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. Does anyone else experience this? Any ideas on how to stop it? Regards. Nathan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 10, 2010, at 12:02 AM, 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. > > Does anyone else experience this? > > Any ideas on how to stop it?Puppet is misconfigured under some disros to do bad stuff before it gets its first certificate. Do these machines have a certificate? Also, you are talking about the client right? Some people run the client with cron and tell it do do a single run and then quit. That should solve this problem if you are talking about the client. (If the client has a certificate) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.