[Pkg-openldap-devel] r1296 - openldap/trunk/debian

Alister Winfield alister at ticklers.org
Fri Jul 23 16:38:32 UTC 2010


Noticed that this can be a huge delay if its a 'master' in a sync-reply relationship. On startup it looks like it can end up scanning everything to find something best guess is the highest CSN. With n-million entries I've seen it take 15 minutes before it'll start listening.


On 23 Jul 2010, at 17:30, Quanah Gibson-Mount wrote:

> --On Friday, July 23, 2010 9:28 AM -0700 Quanah Gibson-Mount <quanah at zimbra.com> wrote:
> 
>> --On Friday, July 23, 2010 10:34 AM +0000 matthijs at alioth.debian.org
>> wrote:
>> 
>>> tags 589852 pending
>>> tags 589915 pending
>>> thanks
>>> 
>>> Author: matthijs
>>> Date: 2010-07-23 10:34:43 +0000 (Fri, 23 Jul 2010)
>>> New Revision: 1296
>>> 
>>> Modified:
>>>   openldap/trunk/debian/changelog
>>>   openldap/trunk/debian/slapd.init
>>> Log:
>>> * Add notice for the security bugs fixed.
>>> * sleep 2 seconds in the init start script.
>> 
>> How long slapd takes to start up and listen is a function of the size of
>> the database, when there is no existing DB cache.  At Zimbra, we run a
>> loop attempts to query the LDAP server for up to 35 seconds, before
>> exiting with success or failure.  It basically sleeps 5 seconds after
>> startup, then does the loop for 6 iterations of 5 seconds.
> 
> Oops, wrong function.  We do it for 3 minutes (6 iterations with a 30 second timeout for the ldapsearch). ;)
> 
> --Quanah
> 
> --
> 
> Quanah Gibson-Mount
> Principal Software Engineer
> Zimbra, Inc
> --------------------
> Zimbra ::  the leader in open source messaging and collaboration
> 
> _______________________________________________
> Pkg-openldap-devel mailing list
> Pkg-openldap-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-openldap-devel




More information about the Pkg-openldap-devel mailing list