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

Re: (ITS#7633) Slapd hangs on hdb write lock



dusan.fric@t-systems.sk wrote:
> Full_Name: Dusan Fric
> Version: 2.4.32
> OS: RHEL 5.7 x64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (88.212.40.139)
>
>
> We are experiencing frequent hangs in slapd. Once hung we usualy cannot continue
> to
> connect until we kill -9 the slapd process and restart it. The directory is used
> for 2 applications as user eDir and we are using it in production over 1 month -
> we have noted the busier the directory becomes the more often it hangs (now
> twice per week).
>
> We have installed identical configurations on 3 environments, each has only one
> single server (no replication). There are 30k entries in the directory
> (production).
>
> We are running:
>
> RHEL 5.7 x64 (VMWare with NFS mountpoints)
> OpenLDAP 2.4.32
> Berkeley DB 4.8.30 (4.7.25)
>
> We were starting with DB 4.8.30, after downgrade to version 4.7.25 (according to
> ITS#7378 - https://www.openldap.org/its/index.cgi/Incoming?id=7378;selectid=7378)
> we are facing the same issue.

Note that BDB 4.7.25 is known to self-deadlock if you haven't applied all of 
the patches.

http://www.oracle.com/technetwork/products/berkeleydb/patch-088170.html

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/