Bug #69890 [Com]: pm.ondemand does not kill children after reaching max limit
| From: | satanistlav at mail dot ru | Date: | Wed, 19 Aug 2015 05:34:50 +0000 |
| Subject: | Bug #69890 [Com]: pm.ondemand does not kill children after reaching max limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195324@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69890&edit=1
ID: 69890
Comment by: satanistlav at mail dot ru
Reported by: vadimyer at gmail dot com
Summary: pm.ondemand does not kill children after reaching
max limit
Status: Open
Type: Bug
Package: FPM related
Operating System: Debian 8.1 x64
PHP Version: 7.0.0alpha1
Block user comment: N
Private report: N
New Comment:
It seems to be only Debian 8 bug.
No such bug on Debian 7 or Ubuntu 12
Previous Comments:
------------------------------------------------------------------------
[2015-06-20 13:39:22] vadimyer at gmail dot com
Description:
------------
Looks like php7-fpm doesn't kill its children while in ondemand mode.
Test script:
---------------
Probably test "script" in this case is www.conf config:
user = www-data
group = www-data
listen = 127.0.0.1:9007
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
Expected result:
----------------
After spawning 100 children processes the system should start killing those processes if no longer
needed, depending on the pm.process_idle_timeout setting.
Actual result:
--------------
After spawning 100 children processes all children still exist and aren't going to be killed.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69890&edit=1