[Pkg-openldap-devel] Bug#696563: Bug#696563: slapd not ready when start script exits, plase add sleep in starting script
Quanah Gibson-Mount
quanah at zimbra.com
Sun Dec 23 20:09:08 UTC 2012
--On Saturday, December 22, 2012 3:54 PM -0800 Steve Langasek
<vorlon at debian.org> wrote:
> This is absolutely not an acceptable fix for this bug. A 'sleep' only
> reduces the frequency of a race, it does not eliminate it. We need to
> find out why the parent slapd process is again exiting before it's ready
> to listen for connections - this is a regression, for a bug that was very
> specifically supposed to have been fixed upstream in 2.4.28. See bug
># 589915 for the history.
>
> The source files that were being patched for this haven't changed upstream
> since 2.4.28, so I'm not sure what will have gone wrong.
I suggest reading followup #2 in
<http://www.openldap.org/its/index.cgi/?findid=6848>, the upstream ITS
dealing with this. It is specifically noted that on a heavily loaded
system, this can still occur.
The real solution is to switch to back-mdb from back-bdb/hdb, which doesn't
have the heavy startup load that BDB based backends do.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
More information about the Pkg-openldap-devel
mailing list