]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Prevent slow graceful restarts on some platforms:
authorJoe Orton <jorton@apache.org>
Wed, 22 Oct 2003 11:38:46 +0000 (11:38 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 22 Oct 2003 11:38:46 +0000 (11:38 +0000)
* prefork.c (ap_mpm_run): Only make as many dummy connections as slots
used, not as many as slots are available.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101513 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 33442e534191d4645dd38cea4320c6dc8a6e8ffd..e1c01178d30463d278e76db3f70a13540ae31304 100644 (file)
@@ -1123,7 +1123,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
                    "Graceful restart requested, doing restart");
 
        /* kill off the idle ones */
-        ap_mpm_pod_killpg(pod, ap_daemons_limit);
+        ap_mpm_pod_killpg(pod, ap_max_daemons_limit);
 
        /* This is mostly for debugging... so that we know what is still
            * gracefully dealing with existing request.  This will break