[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Patch: Implement 'gentle SIGHUP handling' (ITS#1679)
Full_Name: Hallvard B. Furuseth
Version: 2.1.0alpha
OS: Linux
URL: http://folk.uio.no/hbf/OpenLDAP/gentlehup.txt
Submission from: (NULL) (158.36.148.34)
Description from slapd.conf:
gentlehup { on | off }
A SIGHUP signal will only cause a 'gentle' shutdown-attempt: Slapd
will stop listening for new connections, but will not close the
connections to the current clients. It terminates when all clients
have closed their connections (if they ever do), or - as before -
if it receives a SIGTERM signal. This can be useful if you wish to
terminate the server and start a new slapd server *with another
database*, without disrupting the currently active clients. The
default is off. You may wish to use idletimeout along with this
option.
Implementation note:
slap_daemon.sd_nactives, which was unused, is now used to count the
number of connections and listeners to the slapd daemon.