Issue #1539 has been updated by Brice Figureau.

I know this is an old bug reports, but if someone gets it again:

This is a bug in ruby 1.8.7pl72 as shipped in debian lenny:
http://timetobleed.com/ruby-threading-bugfix-small-fix-goes-a-long-way/

I believe it was fixed in a later than 72 patchlevel, or by compiling MRI 
without pthreads (it's better to use the latest 1,8.7 available though).
I think it is related to this ruby bug entry:
http://redmine.ruby-lang.org/issues/show/2553
----------------------------------------
Bug #1539: Puppet consuming lots of background CPU time
https://projects.puppetlabs.com/issues/1539

Author: John Wiegley
Status: Accepted
Priority: Normal
Assignee: 
Category: plumbing
Target version: 
Affected Puppet version: 0.24.5
Keywords: 
Branch: 


When I run puppetd and/or puppetmasterd, I'm seeing a continual background 
utilization of around 0.3% for puppetd and 0.9% for puppetmasterd.  This is on 
OS X 10.5.4.

I've run 'sample' on the puppetd process, and I'm seeing that there's a bit of 
a busy wait going on.  Attached is the data (the numbers to the left of the 
function names are call counts during the 60 second analysis period).

My expectation is that between the half-hour catalog checks, puppetd would 
consume 0.0%, with maybe a tiny bump every minute or so for config file checks 
(and that this would be configurable, as I rarely change mine on the servers 
where I run puppetd).



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to