Mailing List Archive

[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 <uni.roy@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
[Bug 65626] MPM Event doesn't shutdown idle children after working under high load [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

Shun F <uni.roy@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |uni.roy@gmail.com

--
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
[Bug 65626] MPM Event doesn't shutdown idle children after working under high load [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

Shun F <uni.roy@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|uni.roy@gmail.com |

--
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
[Bug 65626] MPM Event doesn't shutdown idle children after working under high load [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

--- Comment #14 from Yann Ylavic <ylavic.dev@gmail.com> ---
(In reply to Shun F from comment #13)

Could you please open a new ticket?
Also in this new ticket, please attach the error_log with "LogLevel
mpm_event:trace5" when reproducing from your testing environment.

--
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
[Bug 65626] MPM Event doesn't shutdown idle children after working under high load [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

--- Comment #15 from Shun F <uni.roy@gmail.com> ---
(In reply to Yann Ylavic from comment #14)
> (In reply to Shun F from comment #13)
>
> Could you please open a new ticket?
> Also in this new ticket, please attach the error_log with "LogLevel
> mpm_event:trace5" when reproducing from your testing environment.

Hi Yann,

Thank you for your quick reply.
OK, I will open a new ticket.

Regards, Shun F

--
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
[Bug 65626] MPM Event doesn't shutdown idle children after working under high load [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=65626

--- Comment #16 from Yann Ylavic <ylavic.dev@gmail.com> ---
(In reply to Shun F from comment #15)
> OK, I will open a new ticket.

Followed up in bug 66004

--
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