[Bug 1242376] [NEW] "reload php5-fpm" crashes
Launchpad Bug Tracker
1242376 at bugs.launchpad.net
Mon Jul 20 13:17:35 UTC 2015
You have been subscribed to a public bug by Robie Basak (racb):
"reload php5-fpm" with upstart does not work.
php5-fpm will crash and leave non-working child processes hanging around
that will block any recovery until they are killed off manually.
This is because php5-fpm does not handle SIGHUP. It results in an
uncontrolled exit. After telling upstart to instead use SIGUSR2 on
reload*, things work as expected.
* "reload signal SIGUSR2" in upstart php5-fpm.conf
Signals handled by php5-fpm seems to be:
* SIGINT, SIGTERM: immediate termination
* SIGQUIT: graceful stop
* SIGUSR1: re-open log file
* SIGUSR2: graceful reload of all workers + reload of fpm conf/binary
Ubuntu 13.10, amd64
ii php5-fpm 5.5.3+dfsg-1ubuntu2 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
** Affects: php
Importance: Unknown
Status: Unknown
** Affects: php5 (Ubuntu)
Importance: High
Assignee: Pratiksha (deekshammhs10)
Status: Confirmed
** Tags: precise saucy trusty
--
"reload php5-fpm" crashes
https://bugs.launchpad.net/bugs/1242376
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.
More information about the Ubuntu-server-bugs
mailing list