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

Can't kill idle slapds on FreeBSD 4.0



Hi all

I recently installed OpenLdap 1.2.10 on FreeBSD 4.0-RELEASE (via
/usr/ports), and I've noticed that idle slapd processes don't respond to
SIGTERM.  I think this comes down to the following section of daemon.c:

tvp = active_threads ? &zero : NULL
..
switch ( i = select( dtblsize, &readfds, &writefds, 0, tvp) ) {

If active_threads is 0, tvp is set to NULL and the select seems to block
forever.  Is this accurate?  And if so, is it dangerous to then kill -9 the
process?  What about backend cleanups?

Regards
Bryan