Dave Hill <[EMAIL PROTECTED]> writes:

> Hi all,
>         I have run into a problem on Compaq Tru64 with cgi processes
> being reaped when using with mpm worker.

committed to APR... for now it is enabled only on Tru64... (not the
right thing to do :) )

Thanks!

> ***************
> *** 105,110 ****
> --- 105,116 ----
>   #ifdef SA_INTERRUPT             /* SunOS */
>       act.sa_flags |= SA_INTERRUPT;
>   #endif
> + #ifdef SA_NOCLDWAIT
> +     /* this is required on Tru64 to cause child processes to
> +        disapear gracefully - XPG4 compatible */
> +     if((signo == SIGCHLD) && (func == SIG_IGN))
> +       act.sa_flags |= SA_NOCLDWAIT;
> + #endif
>       if (sigaction(signo, &act, &oact) < 0)
>           return SIG_ERR;
>       return oact.sa_handler;

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to