]> granicus.if.org Git - apache/commit
Fix the threaded MPM perform_idle_server_maintenance. Basically, we now
authorRyan Bloom <rbb@apache.org>
Sun, 1 Jul 2001 22:49:31 +0000 (22:49 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 1 Jul 2001 22:49:31 +0000 (22:49 +0000)
commit992ac468fab1b2d6893ab77bcf1a8db8450a53a4
treec8b2b8257f242cf90e47fac623f8bdc1805d961b
parenteb30773c28ba0b3ea949490e2bb7ccf06904533d
Fix the threaded MPM perform_idle_server_maintenance.  Basically, we now
count how many threads are actually idle, regardless of which process they
are in.  This patch makes us use (min_spare_threads|max_spare_threads)
* number_of_running_servers to determine if we should kill of processes or
start new ones.  This MPM no longer thrashes killing child processes as
soon as they are created, and the server continues to serve requests even
if the server is gracefully restarted and each child has one active thread.

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