Re: [Nagios-devel] Fork again...
Posted: Wed Feb 02, 2005 9:23 am
Oscar Paniagua wrote:
> I need to make the next question:
> - For what in check.c you make two fork's:
>
> /* fork a child process */
> pid=fork();
>
> /* fork again... */
> pid=fork();
>
So as to not create zombie processes in case something goes wrong with
plugin execution. Otherwise an uninterruptable IO request could quite
possibly hang the entire daemon.
> Thanks
>
> =====
> Best Regards/Saludos,
> Oscar Martin Paniagua
>
>
>
>
>
>
> ___________________________________________________________
> 250MB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> http://correo.yahoo.com.ar
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> I need to make the next question:
> - For what in check.c you make two fork's:
>
> /* fork a child process */
> pid=fork();
>
> /* fork again... */
> pid=fork();
>
So as to not create zombie processes in case something goes wrong with
plugin execution. Otherwise an uninterruptable IO request could quite
possibly hang the entire daemon.
> Thanks
>
> =====
> Best Regards/Saludos,
> Oscar Martin Paniagua
>
>
>
>
>
>
> ___________________________________________________________
> 250MB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> http://correo.yahoo.com.ar
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]