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

Re: (ITS#5380) master slapd hangs when writing

--On Friday, February 15, 2008 10:34 AM +0000 ali.pouya@free.fr wrote:

> Full_Name: Ali Pouya
> Version: 2.3.36
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> My directory is formed with 4 servers syncronized through syncrepl
> (RefreshAndPersist).
> THe directory contains about 10 million entries in the BDB back-end.
> My slapd servers are configured with the default 16 threads.
> I have a JAVA injector for write operations. The injector establishes 28
> connections to the master and writes about 1400 entries per minute.
> After several hours of activity the master hangs. It accepts TCP
> connections but does not handle LDAP operations. LDAP requests remain
> hanged until interruption by the client. The replicas are OK.

strace is useless.  Please get a backtrace of all the threads using gdb. 
Make sure you compiled with debugging symbols, and that slapd is not 
stripped.  I'd also advise getting a backtrace on a current release, as 
there have been a number of race conditions and cleanup fixes made since 
2.3.36.  You may want to wait on 2.3.41 which will be released in the next 
few days.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration