Issue #13000 has been updated by Jon Topper.

We're seeing this too.  In a test case of 1000 runs (running masterless), we 
saw this failure case 115 times.  If run under strace, the process completes 
normally.

This bug happened consistently with ruby package 1.8.7.352, less frequently 
under 1.8.7.358.

This is on a Xen guest running Ubuntu 12.04 x86_64 :

ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], MBARI 
0x6770, Ruby Enterprise Edition 2012.02
Puppet 2.7.11
Linux <hostname redacted> 2.6.39.4-x1-64 #1 SMP Wed Oct 26 11:52:50 GMT 2011 
x86_64 x86_64 x86_64 GNU/Linux


----------------------------------------
Bug #13000: puppet agent spawns a shell that gets defunc/zombie
https://projects.puppetlabs.com/issues/13000#change-71703

Author: Elias Abacioglu
Status: Needs More Information
Priority: Normal
Assignee: Elias Abacioglu
Category: agent
Target version: 
Affected Puppet version: 2.7.11
Keywords: defunc zombie
Branch: 


puppet agent spawns a shell that gets defunc/zombie and gets stuck there.

Issue exists in both 2.7.6 and 2.7.11.

I have activated debug.

A successful run looks like this:
    Mar  6 01:27:02 srzarnsas007 puppet-agent[492]: Retrieving plugin
    Mar  6 01:27:03 srzarnsas007 puppet-agent[492]: Loading facts in 
/var/lib/puppet/lib/facter/facter_dot_d.rb
    Mar  6 01:27:04 srzarnsas007 puppet-agent[492]: Loading facts in 
/var/lib/puppet/lib/facter/root_home.rb
    Mar  6 01:27:04 srzarnsas007 puppet-agent[492]: Loading facts in 
/var/lib/puppet/lib/facter/operatingsystemmajor.rb
    Mar  6 01:27:04 srzarnsas007 puppet-agent[492]: Loading facts in 
/var/lib/puppet/lib/facter/hpov.rb
    Mar  6 01:27:11 srzarnsas007 puppet-agent[492]: Caching catalog for 
srzarnsas007.srz.se.tconet.net
    Mar  6 01:27:12 srzarnsas007 puppet-agent[492]: Applying configuration 
version '1330976728'
    Mar  6 01:27:24 srzarnsas007 puppet-agent[492]: Finished catalog run in 
12.18 seconds
    
A unsuccessful run looks like this:
    Mar  6 01:57:27 srzarnsas007 puppet-agent[492]: Retrieving plugin

# ps aux --forest
    root       492  0.1  3.6 236172 142776 ?       Ss   Mar05   4:27 
/opt/tc-puppet/bin/ruby /opt/tc-puppet/sbin/puppetd --verbose
    root     29210  0.0  0.0      0     0 ?        Z    Mar06   0:00  \_ [sh] 
<defunct>


# /opt/tc-puppet/bin/ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]



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