Signal handling expansion and repairs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSRF |
Fix Released
|
Undecided
|
Jason Stephenson |
Bug Description
This ticket is a combination and extension of bug #1203791, bug #193473, and bug #1195018. These all have to do with repairing or expanding opensrf signal handling (for C and Perl). The code for some of these relies on the code for others and they all pretty much collide with each other. Instead of managing them all separately, I intend to create a single branch responsible for all of the proposed signal handling improvements.
Proposed features:
* Listener receives SIGTERM causes router de-register and graceful child shutdown (bug #1203791)
* Listener receives SIGINT or SIGQUIT causes router de-register and non-graceful child shutdown (bug #1203791)
* Listener receives SIGUSR1 causes router de-registration (bug #1193473)
* Listener receives SIGUSR2 causes router registration
* Listener receives SIGHUP causes reload of max/min/idle child settings from settings server
* General signal handling repairs and consistency (e.g. recovering default handling in child processes, bug #1195018)
Will push a single branch with the existing code soon; new code to follow.
Changed in opensrf: | |
milestone: | none → 2.3.0-beta |
status: | Fix Committed → Fix Released |
Code in progress pushed to
working/ user/berick/ lp1204123- signal- expansion
TODO:
* SIGHUP reloads max/min/idle children settings
* SIGUSR2 causes router (re)register