[Bug 744371] [NEW] PHP5-FPM doesn't always restart on 10.10

Steve Corona 744371 at bugs.launchpad.net
Mon Mar 28 15:48:58 UTC 2011


Public bug reported:

Binary package hint: php5-fpm

The init script for PHP5-FPM doesn't handle restarts correctly. When you
restart an active PHP5-FPM process, it'll sometimes shutdown the old
process, but the new process won't spawn any children and handle
requests.

I think whats happening is that the new PHP5-FPM process is trying to
grab the FastCGI Port while the old process is still shutting down,
causing the new PHP5-FPM process to fail.

Either way, this can be fixed by changing restart to use graceful-stop
instead of stop

Currently it does-
   restart)
	$0 stop
	$0 start
    ;;

This needs to become
    restart)
	$0 graceful-stop
	$0 start
    ;;

Description:	Ubuntu 10.10
Release:	10.10


php5-fpm:
  Installed: 5.3.3-1ubuntu9.3
  Candidate: 5.3.3-1ubuntu9.3
  Version table:
 *** 5.3.3-1ubuntu9.3 0
        500 http://mirrors.service.softlayer.com/ubuntu/ maverick-updates/universe amd64 Packages
        500 http://mirrors.service.softlayer.com/ubuntu/ maverick-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.3.3-1ubuntu9 0
        500 http://mirrors.service.softlayer.com/ubuntu/ maverick/universe amd64 Packages

** 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/744371

Title:
  PHP5-FPM doesn't always restart on 10.10



More information about the Ubuntu-server-bugs mailing list