Public bug reported: "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: php5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1242376 Title: "reload php5-fpm" crashes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1242376/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs