[Bug 2000] when using ssh with ControlMaster/ControlPersist, one may get zombie processes

bugzilla-daemon at bugzilla.mindrot.org
Wed, 25 Apr 2012 15:04:59 -0000

--- Comment #3 from Tomas Mraz <t8m at centrum.cz> 2012-04-26 01:04:59 EST
---
I'd say that the primary issue is in nagios and/or icinga in how it
handles the child process execution and collection of the SIGCHLDs and
wait-ing for the exit statuses. However there might also play a role
stray stderr file descriptor which is left open on the mux process.

You can try to redirect the stderr to /dev/null when you're running the
ssh from the wrapper script.