[Pkg-openldap-devel] Bug#589915: Bug#589915: slapd: service is not operational when the init.d script exits during boot
Quanah Gibson-Mount
quanah at zimbra.com
Fri Jul 23 19:08:42 UTC 2010
--On Friday, July 23, 2010 9:01 PM +0200 Matthijs Möhlmann
<matthijs at cacholong.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It can take 3 minutes or more to have the OpenLDAP server operational,
> should we wait that long in the initscript? Are there objections to for
> example, wait for 5 seconds and try if the server is up, if not do that
> again forever?
>
> I'm going to do some tests with pdns too, with the bind backend it is
> possible that it can take up a few seconds before operational, but I
> have to test that.
The time slapd can take to start depends on if it is a first time startup.
If it is, it has to initialize the BDB environment. How long the BDB
environment takes to initialize depends on its size. There is no set
amount of time it can take to start. The largest environment I've dealt
with was over 1TB in size. It took a very very long time to start the
first time. ;)
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
More information about the Pkg-openldap-devel
mailing list