You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Angus Lees <gu...@inodes.org> on 2006/07/04 17:44:45 UTC

Re: Global $SIG{CHLD} safe in mod_perl 1.28 with Apache 1.3?

On 6/30/06, Matthew Smith <ma...@yahoo.com> wrote:
>
> If I set a global SIG{CHLD} = IGNORE is there any
> possiblity of it propigating to the ultimate parent,
> and thus to all the child processes?  I'm worried that
> if I use the global (even though that's what Stas
> Bekmen does in his mod_perl book example) it could
> possibly cause problems with the way apache forks it's
> own worker processes.


No it can't propagate to the other children via the parent - there is no
mechanism in Unix  for this to happen.  However if you keep setting SIGCHLD
to IGNORE, then eventually you will have modified all the apache children
processes yourself (without touching the parent).

-- 
- Gus