What does the log says?

# apt-cache policy php5-fpm
php5-fpm:
  Installed: 5.6.0~rc2+dfsg-1
  Candidate: 5.6.0~rc2+dfsg-1
  Version table:
 *** 5.6.0~rc2+dfsg-1 0
        700 http://ftp.cz.debian.org/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status
     5.6.0~rc1+dfsg-1 0
        800 http://ftp.cz.debian.org/debian/ jessie/main amd64 Packages
     5.4.4-14+deb7u11 0
        900 http://security.debian.org/ wheezy/updates/main amd64 Packages
     5.4.4-14+deb7u9 0
        900 http://ftp.cz.debian.org/debian/ wheezy/main amd64 Packages

# tail -f /var/log/php5-fpm.log&

It works for all variants of reload command:

# systemctl reload php5-fpm
[07-Jul-2014 09:47:05] NOTICE: Reloading in progress ...
[07-Jul-2014 09:47:05] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", 
{"/usr/sbin/php5-fpm", "--nodaemonize", "--fpm-config", 
"/etc/php5/fpm/php-fpm.conf"})
[07-Jul-2014 09:47:05] NOTICE: using inherited socket fd=7, 
"/var/run/php5-fpm.sock"
[07-Jul-2014 09:47:05] NOTICE: fpm is running, pid 14193
[07-Jul-2014 09:47:05] NOTICE: ready to handle connections
[07-Jul-2014 09:47:05] NOTICE: systemd monitor interval set to 10000ms

# kill -USR2 14193
# [07-Jul-2014 09:47:55] NOTICE: Reloading in progress ...
[07-Jul-2014 09:47:55] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", 
{"/usr/sbin/php5-fpm", "--nodaemonize", "--fpm-config", 
"/etc/php5/fpm/php-fpm.conf"})
[07-Jul-2014 09:47:55] NOTICE: using inherited socket fd=7, 
"/var/run/php5-fpm.sock"
[07-Jul-2014 09:47:55] NOTICE: fpm is running, pid 14193
[07-Jul-2014 09:47:55] NOTICE: ready to handle connections
[07-Jul-2014 09:47:55] NOTICE: systemd monitor interval set to 10000ms

# kill -HUP 14193
# [07-Jul-2014 09:48:20] NOTICE: Reloading in progress ...
[07-Jul-2014 09:48:20] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", 
{"/usr/sbin/php5-fpm", "--nodaemonize", "--fpm-config", 
"/etc/php5/fpm/php-fpm.conf"})
[07-Jul-2014 09:48:20] NOTICE: using inherited socket fd=7, 
"/var/run/php5-fpm.sock"
[07-Jul-2014 09:48:20] NOTICE: fpm is running, pid 14193
[07-Jul-2014 09:48:20] NOTICE: ready to handle connections
[07-Jul-2014 09:48:20] NOTICE: systemd monitor interval set to 10000ms

-- 
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/php/+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

Reply via email to