[Nagios-devel] NRPE, fork and defunct process

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] NRPE, fork and defunct process

Post by Guest »

Hi,

I have a perl plugin executed from NRPE.
This plugin used fork system call to execute a system command in a child process.
The father exit but become a defunct process.
The problem is that NRPE wait the father (defunct process) exit, so wait that the child is finished.

Do someone have a solution ?

Regards,
Samuel Mutel.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked