]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 SIGTERM causes graceful shutdown (Perl)
authorBill Erickson <berick@esilibrary.com>
Fri, 21 Jun 2013 20:43:01 +0000 (16:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 14:42:09 +0000 (10:42 -0400)
commite9ff607ff807e31cf7acc8c0d11f2b2185fbfe82
tree0fd8f546d536bfdbd4c311d4f3d940925249dd5e
parentef06624ef535ed9397cbf992cc8127af3d55d489
LP1204123 SIGTERM causes graceful shutdown (Perl)

When sent the SIGTERM signal, listener processes will wait for all child
processes to complete their currently running tasks before killing all
child processes and exiting.

SIGQUIT and SIGINT can still be used for semi-graceful shutdowns, where
the listener de-registers and cleans up child processes, but does not
wait for child processes to finish their tasks.

To kill with fire, SIGKILL is still your friend.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/perl/lib/OpenSRF/Server.pm