pm.ondemand does not kill children after reaching max limit
| Request #69890 | pm.ondemand does not kill children after reaching max limit | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2015-06-20 13:39 UTC | Modified: | 2021-12-04 18:33 UTC |
|
||||||||||
| From: | vadimyer at gmail dot com | Assigned: | bukka (profile) | |||||||||||
| Status: | Assigned | Package: | FPM related | |||||||||||
| PHP Version: | 7.0.0alpha1 | OS: | Debian 8.1 x64 | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2015-06-20 13:39 UTC] 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.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2015-08-19 05:34 UTC] satanistlav at mail dot ru
[2016-02-22 19:15 UTC] lofesa at gmail dot com
Same issue. Centos 7. php 7.0.3. Children processes are not killed. Master process are doing nothing unless send messages to systemd like this sendmsg(21, {msg_name(21)={sa_family=AF_LOCAL, sun_path="/run/systemd/notify"}, msg_iov(1)=[{"READY=1\nSTATUS=Processes active:"..., 84}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 84 close(21)[2016-05-03 12:23 UTC] c dot kras at pcc-online dot net
[2016-05-03 12:52 UTC] c dot kras at pcc-online dot net
[2019-05-02 10:03 UTC] mp at webfactory dot de
[2020-02-27 16:38 UTC] jleon1984 at gmail dot com
[2021-12-04 18:33 UTC] bukka@php.net
-Type: Bug +Type: Feature/Change Request -Assigned To: +Assigned To: bukka
[2021-12-04 18:33 UTC] bukka@php.net