Req #75440 [NEW]: Fpm reload should be graceful, not killing running processes
| From: | sjon at hortensius dot net | Date: | Wed, 25 Oct 2017 13:43:57 +0000 |
| Subject: | Req #75440 [NEW]: Fpm reload should be graceful, not killing running processes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-212317@lists.php.net to get a copy of this message | ||
From: sjon at hortensius dot net
Operating system: linux
PHP version: Irrelevant
Package: FPM related
Bug Type: Feature/Change Request
Bug description:Fpm reload should be graceful, not killing running processes
Description:
------------
When fpm receives a USR2 (reload) signal it should reload it's
configuration.
However, it currently also kills existing connections / and/or refuses
to accept new connections for a short period. This results in errors
suchs as 'connect() failed (111: Connection refused) while connecting to
upstream' in my nginx logs.
Executing a reload should be more graceful, not throwing any errors or
refusing connections and behave like
nginx -s reload
--
Edit bug report at https://bugs.php.net/bug.php?id=75440&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75440&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75440&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75440&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75440&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75440&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75440&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75440&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75440&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75440&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75440&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75440&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75440&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75440&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75440&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75440&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75440&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75440&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75440&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75440&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75440&r=mysqlcfg