Issue #14940 has been updated by Steve Shipway.

Additional info -- puppet server is 2.7.10 in a distributed setup (apache 
mod_balancer load balancer over three backends, all identical and configs 
controlled by puppet and synched)
Puppet server logs show requests coming in for the plugin synch and any plugin 
updates, which all complete correctly, but then no request for the manifest.  
My guess is that it may be hanging somewhere in the facter functions.  We have 
several custom facts, but none spawn additional processes that may be hanging.
When the agent is in a 'hung' state, the single process has no children, and is 
using minimal if any cpu (so not a busy-wait loop)
Facter version 1.6.5 (noarch RPM from puppetlabs repository)


----------------------------------------
Bug #14940: puppet agent hangs unpredictably during runs
https://projects.puppetlabs.com/issues/14940#change-64712

Author: Steve Shipway
Status: Unreviewed
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 2.7.10
Keywords: agent hang
Branch: 


We have a problem with the puppet agent when running in daemon mode. On about 
0.15% of runs (thats about 8 or less a day in our 450-node setup) the agent 
will start a puppet run, and never exit.  This prevents all future runs, and 
the daemon needs to be killed and restarted to make it all OK again.
This cannot be duplicated at will, and seems to happen at random.  It only 
happens (so far) with puppet in daemon mode.  Logs show the run starts but 
never exits; however we have no more information as to where it is hanging (is 
there any way to get this?)
As it happens rarely any additional tracing would have to be added to all 450 
of our clients...


-- 
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