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

Add reqests start timing out. Truss output shows threads lwp_mutex_lock (ITS#3148)

Full_Name: Ravi Puranik
Version: 2.1.29
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

+ OpenLDAP 2.1.29 is being used by our product which internally uses Sleepycat
+ We have four databases which are maintained using the OpenLdap product.
+ There is a process which continuously reads billing data deposited on the
add performs inserts to these databases.
+ Every evening there is another billing process which starts up at 7:00PM and
a billing file and  performs several thousand inserts in to these databases
during its run. 
+ The inserts are achieved by sending a LDAP adds to the Open LDAP which in
the inserts into the databases.
+ It has been observed that the Open LDAP frequently gets into a state which
causes all the 
add requests to time out. The only recovery mechanism identified so far when in
this state
is to stop the "slapd" (OpenLDAP) process, perform a db_recovery and start
+ The truss output shows a bunch of threads in slapd stuck on lwp_mutex_lock  

I have truss and pstack output of the slapd process when it is in this state.
let me know if there is a place I can ftp it to or an email address I can send
(I tried ftp'ing the info to ftp.openldap.org/incoming but I get "No space left
on device"  error)