Edit report at https://bugs.php.net/bug.php?id=65700&edit=1

 ID:                 65700
 Updated by:         ras...@php.net
 Reported by:        baohx2000 at gmail dot com
 Summary:            Sending USR2 (reload) to master process kills it
-Status:             Closed
+Status:             Not a bug
 Type:               Bug
 Package:            FPM related
 Operating System:   Ubuntu 12.04
 PHP Version:        5.5.3
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2013-09-18 16:42:36] baohx2000 at gmail dot com

Disregard, should have been using SIGUSR2 instead of USR2.

------------------------------------------------------------------------
[2013-09-18 16:36:33] baohx2000 at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=65700&edit=1

Reply via email to