(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) I am having trouble killing slapd under FreeBSD
This is a known problem with certain versions of the FreeBSD pthread implementation (those in FreeBSD 4.0 and 4.1, possibly others) It has been reported to freebsd-bugs as PR#19087

Until this changes, the workaround is to patch OpenLDAP to use sigaction (with sa_flags = 0) instead of signal, or to execute a query immediately after killing slapd, eg:

kill -TERM pid 
ldapsearch -b ""

[Append to This Answer]
This document is: http://www.openldap.org/faq/index.cgi?file=497
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org