Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have 40 Ubuntu 12.04 servers. These servers are managed with puppet. Sometimes I have problem with puppet agent. puppet agent spawn child process (sh) and this process fails. Sh is zombie process. Puppet doesn't work, I must restart puppet agent to make it works.

I use puppet to manage files, packages and services. Problematic agent didn't make any change before fails, server is up to date.

share|improve this question
    
Are you running puppet as a daemon or as a cron job? What's the full command of the sh process? (You can use ps aux | grep sh for this.) –  Ladadadada Oct 22 '12 at 9:02
    
sh, it's only sh, this is weird. –  esio Oct 22 '12 at 9:14
    
root@XXX:~# ps aux | grep 13281 root 13281 0.0 0.0 0 0 ? Z 15:43 0:00 [sh] <defunct> –  esio Oct 22 '12 at 14:32
    
Maybe you have a bad Exec declaration in your puppet manifests, like with mismatched quotes, empty command, or something? –  user6803 Oct 22 '12 at 14:51
    
On other nodes with same configuration is ok. –  esio Oct 23 '12 at 17:33

1 Answer 1

up vote 0 down vote accepted

Resolution:

I use puppet to manage cron script to restart puppet if agent freeze. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.