SIGUSR1 causes router unregister (Perl/C) user/berick/sigusr1-router-unregister
authorBill Erickson <berick@esilibrary.com>
Fri, 21 Jun 2013 18:10:08 +0000 (14:10 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 21 Jun 2013 19:15:28 +0000 (15:15 -0400)
commit93c469f4114b962e23cc18d076427e93f46ef3af
tree18d2299fff36f3ca76bae219786128cd5173822d
parent9bda0431374055bc4bbe440e3f5f8772022f074a
SIGUSR1 causes router unregister (Perl/C)

$ kill -s USR1 <listener_pid>

The listener process will unregister all router connections.  This
allows services to remove themselves from consideration for new
inbound requests while allowing their drone processes to complete
any currently running tasks.

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