Bug #65700 [Opn->Csd]: Sending USR2 (reload) to master process kills it
| From: | baohx2000 at gmail dot com | Date: | Wed, 18 Sep 2013 16:42:36 +0000 |
| Subject: | Bug #65700 [Opn->Csd]: Sending USR2 (reload) to master process kills it | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181662@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65700&edit=1
ID: 65700
User updated by: baohx2000 at gmail dot com
Reported by: baohx2000 at gmail dot com
Summary: Sending USR2 (reload) to master process kills it
-Status: Open
+Status: Closed
Type: Bug
Package: FPM related
Operating System: Ubuntu 12.04
PHP Version: 5.5.3
Block user comment: N
Private report: N
New Comment:
Disregard, should have been using SIGUSR2 instead of USR2.
Previous Comments:
------------------------------------------------------------------------
[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