]> granicus.if.org Git - apache/commit
Defer starting the listener until we have at least tried to start all the worker
authorBill Stoddard <stoddard@apache.org>
Wed, 1 May 2002 15:06:44 +0000 (15:06 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 1 May 2002 15:06:44 +0000 (15:06 +0000)
commitc4482c2658baa85916d7f0c2916aac3cc63ab0aa
tree5dc998336d48aea00160e638340da90d428f5fd2
parent5aece1c174e29f7f33cd6e97338863cd06786870
Defer starting the listener until we have at least tried to start all the worker
threads.  We want to get the workers in the pool of available threads ASAP
to keep perform_idle_server_maintenance from thrashing and starting too
many processes prematurely.  The code before this patch would dribble workers
into the worker pool over an extended period of time and this prevented
perform_idle_server_maintenance from accurately deciding when new processes
were needed.

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