You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/04/11 07:34:37 UTC

[Bug 65626] MPM Event doesn't shutdown idle children after working under high load

https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

--- Comment #13 from Shun F <un...@gmail.com> ---
Updated httpd to 2.4.53 from 2.4.51.

After several time reloads, child processes disappeared one by one with
following:

[Mon Apr 11 14:19:49.422912 2022] [mpm_event:debug] [pid 20759:tid
140355756119808] event.c(576): wake up listener


All child processes disappeared and only parent process survive, following is
logged every second:

[Mon Apr 11 14:29:25.195671 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down
[Mon Apr 11 14:29:26.196818 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down
[Mon Apr 11 14:29:27.197926 2022] [mpm_event:info] [pid 28925:tid
140356948518720] AH00486: server seems busy, (you may need to increase
StartServers, ThreadsPerChild or Min/MaxSpareThreads), spawning 0 children,
there are around 64 idle threads, 14 active children, and 14 children that are
shutting down

Reloading or stopping/starting httpd recovers from this situation.

This can be reproduce not only at production environment but also at the test
environment with no web accesses to httpd.

Can you please investigate and fix this.

///////////////////////////commands(RHEL)
systemctl stop httpd
systemctl start httpd
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
/usr/bin/systemctl reload httpd.service
(wait about 30 minutes)

///////////////////////////httpd-mpm.conf
<IfModule mpm_event_module>
    ServerLimit             10
    StartServers               4
    MinSpareThreads           75
    MaxSpareThreads          250
    ThreadsPerChild           64
    MaxRequestWorkers        640
    MaxConnectionsPerChild   300
</IfModule>

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org