2

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.

7
  • 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, 2012 at 9:02
  • sh, it's only sh, this is weird.
    – esio
    Oct 22, 2012 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, 2012 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, 2012 at 14:51
  • On other nodes with same configuration is ok.
    – esio
    Oct 23, 2012 at 17:33

1 Answer 1

0

Resolution:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .