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

Re: backend shell leaves defunct processes

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?