httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] fix scoreboard state for worker threads
Date Wed, 19 Sep 2001 06:08:22 GMT
On Tue, Sep 18, 2001 at 03:14:58PM -0700, Aaron Bannert wrote:
> This patch fixes a nasty bug in the worker MPM where the
> state of the worker threads was not being reported back to the
> scoreboard, and eventually all the threads running in the children
> would be reported as being in the "C -- closing connection" state.
> This would reak havoc on the idle_server_maintenance() routine. Since
> these threads would never be counted as idle, the server would
> spawn children as fast as possible.

Committed.

FWIW, in my tests on the Solaris 8/MP box, worker MPM is close enough
to prefork where you can call it a dead heat.

Flood results are at:

http://www.apache.org/~jerenkrantz/mpm-flood-relative.tar.bz2

-- justin


Mime
View raw message