-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi,
I'm setting up SFS on multiple nodes. What is disturbing a little bit is..
a) php-sync processes do not respond to SIGTERM, SIGHUP, SIGINT
b) php-sync-master process is not linked to forked processes
regarding a) Responding to standard signals
Expected behavior is that the processes are terminating cleanly after doing all open tasks after getting SIGTERM, or exiting with only critical cleanups at SIGINT. But there is no response at all. I have to use SIGABRT or an even higher priority signal to kill all processes.
Especially I would appreciate that in case of a TERM signal a running batch jobqueue is properly finished before terminating, which is causing me trouble in my personal setup at the moment.
regarding b) linking of forked processes
Expected behaviour is that a signal to the master php-sync process is propagated to the created childs, so only the master process has to be sent a signal. At the moment, as a workaround I'm grepping around in the process list, which does of course only work as long as the program names and titles does not change in the process list.
...and thank your for building and sharing SFS!