[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Patch: Implement surrogate parent for back-shell (ITS#1815)

Applied to HEAD, thanks, Kurt

At 07:12 AM 2002-10-10, h.b.furuseth@usit.uio.no wrote:
>The above patch was buggy.  Here is a patch to remove it:
>    ftp://ftp.openldap.org/incoming/Hallvard-Furuseth-021010.txt
>If someone later reverses this patch, note:
>1. The surrogate parent was started too late. make_surrogate_parent()
>   should instead be called if #defined(SLAPD_SHELL) before threading
>   is started in slap_init(), and the surrogate parent should be
>   killed later if no shell backend is started.
>2. The surrogate parent lacks a SIGCHLD signal handler (ITS#2109).
>   Install main.c:wait4child() in make_surrogate_parent().
>3. Check out ITS#2110.  Either that's point 1 or 2 above (maybe
>   running out of processes?), or I don't know what is going on.