From:             baohx2000 at gmail dot com
Operating system: Ubuntu 12.04
PHP version:      5.5.3
Package:          FPM related
Bug Type:         Bug
Bug description:Sending USR2 (reload) to master process kills it

Description:
------------
Start php-fpm process with a pool.
Get pid of master process
kill -USR2 [pid]

Expected: master sends reload signal to all children (essentially a
graceful 
restart).

Actual: master process dies.  No output.  Nothing logged.  Child processes

orphaned.

Test script:
---------------
Modules loaded:
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gearman
gettext
hash
iconv
json
libphonenumberphp
libxml
mbstring
mcrypt
memcache
memcached
mhash
mongo
mysql
mysqli
OAuth
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
redis
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Expected result:
----------------
master sends reload signal to all children (essentially a graceful
restart).

Actual result:
--------------
master process dies.  No output.  Nothing logged.  Child processes
orphaned.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=65700&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65700&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65700&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65700&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65700&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65700&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65700&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65700&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65700&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65700&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65700&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65700&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65700&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65700&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65700&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65700&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65700&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65700&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65700&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65700&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65700&r=mysqlcfg

Reply via email to