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

Re: difficulties to stop slapd

On Wednesday, 20 April 2011 09:28:26 LALOT Dominique wrote:
> Hello,
> Our openldap is sometimes long to stop and init scripts failed to stop.
> Apr 20 09:10:47 ldap1 slapd[15105]: daemon: shutdown requested and
> initiated.
> Apr 20 09:10:47 ldap1 slapd[15105]: slapd shutdown: *waiting for 0
> operations/tasks to finish*
> Apr 20 09:*12:46 *ldap1 slapd[15105]: slapd stopped.
> It tooks 2 minutes to stop. So the init scrit failed

Then the init script is partly at fault.

> and restart is not
> safe. An auto update on ubuntu leaves slapd in a strange state once and the
> cause was that long wait for 0 task to finish. Normaly, zero means
> immediate. Here two minutes!
> We have 5 glued bdb databases. Is it due to the bdb close for these
> databases? Is there a way to get things more reliable

Supply your slapd configuration. It could be that you aren't checkpointing 
frequently enough.