[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: backend shell leaves defunct processes
Kurt,
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.
-Tim
"Kurt D. Zeilenga" wrote:
>
> At 09:58 AM 7/2/99 -0400, Timothy P. Peterman wrote:
> >Hello,
> >
> >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
> >system.
>
> 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?
>
> No.
--
Tim Peterman - Unix & Web Server Administration
Lockheed Martin GES/EIS, Moorestown, NJ
mailto:timothy.p.peterman@lmco.com