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

Re: cannot kill slapd from openldap-1.2.11



On Tue, Jul 18, 2000 at 10:48:20AM +0200, Bryan Mawhinney wrote:
> > > 
> > > You may be running into the same FreeBSD bug I did.  See:
> > > 
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=19087
> > 
> > Looks very likely. I had never seen anything like this before I
> > upgraded to 4.0
> > 
> > Do you think this will be fixed in the next release or what?
> > 
> 
> I hope so, though it doesn't look like Jason has had a chance
> to look at it yet.  The fix looks pretty simple, but it may
> have an impact on other software.
> 
> In the meantime, you could always link OpenLDAP against your
> own implementation of signal which calls sigaction with the
> correct flags.
> 
> Or you could just issue a query after doing the kill.  The
> query will wake the process up just long enough to catch
> the signal and die gracefully.

Thank you very much. This works. A very nice workaround, I shall use
it.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/