Package: php5-fpm
Version: 5.3.8-2

An attempt to "reload" php-fpm causes master process killing.

Documentation of php-fpm says:

http://php-fpm.org/wiki/Documentation#Master_process_understands_signals

> php-fpm understands the signals:
> SIGQUIT – graceful stop
> SIGINT, SIGTERM – immediate termination
> SIGUSR2 – graceful reload of all workers + reload of fpm conf/binary

But script sends SIGHUP on "reload" (it kills master process instead!)
http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/php5-fpm.init;h=4facc3d816a5c984a35b099c6bf04c025ad40161;hb=HEAD#l98

 and SIGTERM on stop (immediately, not graceful):
http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/php5-fpm.init;h=4facc3d816a5c984a35b099c6bf04c025ad40161;hb=HEAD#l81

# /etc/init.d/php5-fpm reload
... and master process killed!




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to