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

Re: (ITS#3648) ldbm hangs during shutdown

On Mon, 11 Apr 2005, Howard Chu wrote:

> Date: Mon, 11 Apr 2005 07:52:18 -0700
> From: Howard Chu <hyc@symas.com>
> To: vek@pharmapartners.nl
> Cc: openldap-its@OpenLDAP.org
> Subject: Re: (ITS#3648) ldbm hangs during shutdown
> Interesting. Probably the best way to fix this is to change this code to use
> the slapd runqueue instead of spawning its own thread.

Doing that may also fix another little problem:  If for example the
sync interval is 30 seconds it may take up to 30 seconds to shut down
slapd as it will wait until the sleep in the sync daemon returns.
The same delay also affects slapcat and slapadd if I'm not mistaken.