Subject: Re: Slurpd crashes during exit
To: matthew sporleder <msporleder@gmail.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 08/31/2005 13:16:33
msporleder@gmail.com said:
> when you kill slurpd and slapd it basically sends an exit to all of
> its children (the slave connections) and then drops out

Related or not: my openldap (2.2.27) doesn't shut down
cleanly. After it gets a signal the child thread dies
but the main thread spins forever in the berkeley-db
lib trying to acquire a mutex.

(gdb) where
#0  0xbdaf90db in __db_tas_mutex_lock () from /usr/pkg/lib/libdb4-4.3.so.3
#1  0xbdb89317 in __memp_sync_int () from /usr/pkg/lib/libdb4-4.3.so.3
#2  0xbdb88b31 in __memp_fsync () from /usr/pkg/lib/libdb4-4.3.so.3
#3  0xbdb4b910 in __db_sync () from /usr/pkg/lib/libdb4-4.3.so.3
#4  0xbdb4adee in __db_refresh () from /usr/pkg/lib/libdb4-4.3.so.3
#5  0xbdb4a6e3 in __db_close () from /usr/pkg/lib/libdb4-4.3.so.3
#6  0xbdb5531c in __db_close_pp () from /usr/pkg/lib/libdb4-4.3.so.3
#7  0x08096766 in ldap_pvt_sasl_mutex_new ()

best regards
Matthias