httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <>
Subject [PATCH] threaded MPM: limit re-use of scoreboard
Date Fri, 27 Jul 2001 22:31:53 GMT
This patch prevents multiple processes which are starting up from
grabbing the same process slot in the scoreboard.  Other processes may
still share that process slot while they are quiescing (due to
MaxRequestsPerChild, perform_idle_server_maintenance, or restarts).

Since only one process per slot will be starting new threads at any
given time, it eliminates the race conditions where multiple processes
both see what looks like a vacant worker slot simultaneously.

This works for me.  I would appreciate comments, and would love to see
other folks bang on it.

View raw message