[Date Prev][Date Next]
Re: backend shell leaves defunct processes
Thanks for the info. I'll look forward to the fix. The
shell backend is very powerful and very useful. In the
meantime as a work around I am going to write a script
that checks for defunct processes and restarts slapd
when the number exceeds some threshold.
"Kurt D. Zeilenga" wrote:
> At 09:58 AM 7/2/99 -0400, Timothy P. Peterman wrote:
> >Each time a backend script runs, it does not completely
> >exit. Instead it leaves a "defunct" process on the server.
> >I am running Solaris 2.6. When I shut down slapd all
> >the defunct processes are terminated, but at times I
> >have observed hundreds of defunct processes. I am
> >concerned that at some point it could start impacting the
> it will impact your slapd or your system...
> >Here's what ps shows - parent PID (386) is the slapd process:
> >% ps -ef | grep defunct
> > ldapadm 395 386 0 0:00 <defunct>
> > ldapadm 389 386 0 0:00 <defunct>
> > ldapadm 401 386 0 0:00 <defunct>
> > ldapadm 387 386 0 0:00 <defunct>
> >Anyone have any ideas what might cause this?
> Yes. It's a known bug. A fix exists in -devel but has
> not been backported to 1.2.x yet. Hopefully it will find
> it's way into the next patch.
> >Are there any config options that might affect this?
Tim Peterman - Unix & Web Server Administration
Lockheed Martin GES/EIS, Moorestown, NJ