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

Re: Killing slapd on FreeBSD 4.1



Hi

I'm talking OpenLDAP 1.2.11.

I have tried -TERM, -HUP, -INT but none work. 
When you run ps you will se the process, but if you trie to do a
ldapsearch or some other ldap command, it fails an the process dies.

Bye

Urban


Randy Kunkee wrote:
> 
> > kill -INT pid do not work on FreeBSD 4.1
> >
> > kill -QUIT pid do work, is it safe to use it?
> > kill -INT pid; ldapsearch objectlass="*", do work bu it is ugly:)
> >
> > Regards
> >
> > /Urban
> >
> > "Kurt D. Zeilenga" wrote:
> > >
> > > Use
> > >  kill -INT pid
> > >
> > > on all platforms.
> 
> Kurt can correct me if I'm wrong, but it's pretty standard (and supported)
> to accept a SIGTERM to shut down slapd, and that is the default signal sent
> by kill.
> 
> Kill -QUIT is probably safe if you don't use "dbcachenowsync".  If a regular
> kill (or kill -INT) does not shut down your slapd, what does happen?  Do
> you get anything in your syslog, for example, such as "waiting for 2 threads"?
> Are you talking about OpenLDAP 2.0-beta or OpenLDAP 1.2.x?
> 
> Randy
begin:vcard 
n:Lindberg;Urban
tel;home:060-150108
tel;work:060-641141
x-mozilla-html:FALSE
org:Systech
adr;quoted-printable:;;Box 447=0D=0AS-851 06 Sundsvall;;;;Sweden
adr:;;;;;;
version:2.1
email;internet:urban.lindberg@systech.se
note:070 - 312 91 97
x-mozilla-cpt:;0
fn:Urban Lindberg
end:vcard