|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 13:00:01 2025 UTC |
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)