diff options
author | Yann Ylavic <ylavic@apache.org> | 2024-05-31 17:18:33 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2024-05-31 17:18:33 +0200 |
commit | 3cf40d93a9e0d6fa3401f326e4e447cafbc5b604 (patch) | |
tree | 6a08ae81d7ea3b486fbbe440346e112ab6563e84 /server/mpm | |
parent | CI: For LDAP tests, switch to using OpenLDAP slapd running on (diff) | |
download | apache2-3cf40d93a9e0d6fa3401f326e4e447cafbc5b604.tar.xz apache2-3cf40d93a9e0d6fa3401f326e4e447cafbc5b604.zip |
mpm_event: Don't spam with "Stopping process due to MaxConnectionsPerChild"
When MaxConnectionsPerChild is reached there may be some connections to process
still and the listener should stop writing this at every loop. Logging once
is enough.
* server/mpm/event/event.c(check_infinite_requests): Raise conns_this_child
unconditionally.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm')
-rw-r--r-- | server/mpm/event/event.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 848dd0e564..414c96ce67 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -1358,10 +1358,8 @@ static void check_infinite_requests(void) "Stopping process due to MaxConnectionsPerChild"); signal_threads(ST_GRACEFUL); } - else { - /* keep going */ - conns_this_child = APR_INT32_MAX; - } + /* keep going */ + conns_this_child = APR_INT32_MAX; } static int close_listeners(int *closed) |