]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event: Follow up to r1894285: new MaxSpareThreads heuristics.
authorYann Ylavic <ylavic@apache.org>
Fri, 3 Dec 2021 13:25:51 +0000 (13:25 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 3 Dec 2021 13:25:51 +0000 (13:25 +0000)
commit1aff1980f3399652aeec6faeecddf736da117ec7
tree3d910c6dc38a584df907b9edf0fafa7e9c80d2d3
parent6aef687d933fc285192dcf819bc64d0019cead53
mpm_event: Follow up to r1894285: new MaxSpareThreads heuristics.

When at MaxSpareThreads, instead of deferring the stop if we are close to
active/server limit let's wait for the pending exits to complete.

This way we always and accurately account for slow-to-exit processes to
avoid filling up the scoreboard, whether at the limits or not.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895553 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/event/event.c