/[Apache-SVN]
ViewVC logotype

Revision 1894285


Jump to revision: Previous Next
Author: ylavic
Date: Fri Oct 15 10:29:00 2021 UTC (2 years, 6 months ago)
Changed paths: 2
Log Message:
mpm_event: Restart stopping of idle children after a load peak. PR 65626.

r1770752 added an heuristic to avoid stopping children when the load triggers
MaxSpareThreads but children take some time to shut down until the point where
active_daemons_limit/ServerLimit is reached (scoreboard full) and no child gets
created to handle incoming connections.

However when this happens there is nothing to stop children again when the load
settles down (besides MaxRequestsPerChild, which may be 0) so let's restart to
stop children again if/when idle_thread_count reaches max_workers / 4.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/changes-entries/event-kill_at_total_daemons_limit.txt added
Directoryhttpd/httpd/trunk/server/mpm/event/event.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26