On Tue, Jan 27, 2004 at 02:24:46PM -0500, Jeff Trawick wrote:
> I'm testing with this patch currently (so far so good):
Same here, I've applied the patch, and right now have 1 hours uptime,
which is 12 times more than I've ever had with worker before.
Looks like that was it. Where do I send the beer?
Oh, and if someone is committing to worker.c, do me a favour and
add a zero to MAX_SERVER_LIMIT there too ;)
> Index: server/mpm/worker/worker.c
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/server/mpm/worker/worker.c,v
> retrieving revision 1.145
> diff -u -r1.145 worker.c
> --- server/mpm/worker/worker.c 27 Jan 2004 15:19:58 -0000 1.145
> +++ server/mpm/worker/worker.c 27 Jan 2004 19:20:10 -0000
> @@ -1441,7 +1441,8 @@
> ++idle_thread_count;
> }
> }
> - if (any_dead_threads && totally_free_length < idle_spawn_rate
> + if (any_dead_threads && totally_free_length < idle_spawn_rate
> + && free_length < MAX_SPAWN_RATE
> && (!ps->pid /* no process in the slot */
> || ps->quiescing)) { /* or at least one is going
> away */
> if (all_dead_threads) {
>
>
--
Colm MacC�rthaigh Public Key: [EMAIL PROTECTED]