Issue #9757 has been updated by Jude Nagurney.

I am seeing something similar pretty consistently on version 2.7.11, facter 
version 1.6.2 on Centos 5.8 clients.

I am seeing Exec-related puppet reports saying "Check <cmd> exceeded timeout"
The <cmd>'s are all pretty simple test or grep commands that should take under 
a second instead of more than the default 30 seconds to complete.
I'm not seeing other indications on the clients that they are under heavy load. 
 When do the commands manually, they finish in under a second.

Also it looks like each of these 'exceeded timeout' messages is tied to a 
zombie process on the client.  

I'm seeing this multiple times a day, so I should be able to gather whatever 
extra data folks may want to see.  

----------------------------------------
Bug #9757: Child processes of puppet agent sometimes become zombies
https://projects.puppetlabs.com/issues/9757#change-64833

Author: Steve Shipway
Status: Needs More Information
Priority: Normal
Assignee: 
Category: plumbing
Target version: 
Affected Puppet version: 2.6.8
Keywords: 
Branch: 


There seems to be a problem on our system where, when the puppet agent is 
running in daemon mde, it does not correctly wait for the child processes 
spawned by facter or exec resources and as a consequence we get a huge number 
of zombies.  Restarting the agent clears the zombies, of course.

I cannot duplicate this at will, sadly.  The zombies in question on our system 
were iptables (this was spawned by facter to get iptables rules) and snmpget 
(spawned by an exec only-if rule in a resource from a module).  These appeared 
over several dozen servers for a few days, and then stopped appearing.  It may 
be connected to when an exec or fact that spawns a process times out before 
completing -- these were on slow hosts and logs show errors on exec resources, 
but this is just a guess.

Possibly the puppet agent should make an occasional general 'wait' for any 
zombies to prevent this?


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