httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <>
Subject Re: [PATCH] threaded MPM: limit re-use of scoreboard
Date Sat, 28 Jul 2001 21:05:59 GMT
Greg Ames wrote:

> But I did get a hang after getting 16 seg faults (which could be in
> mod_status - still no dumps) because all my worker processes are gone.
> They shouldn't be - new ones should crank up after seg faults.  gdb
> shows the process_scores are clean, so that's not it.  I'll keep
> plugging until my better half gets home.

New processes aren't starting up after the seg faults/restarts, because
there is crap left in the worker_scores, and
perform_idle_server_maintenance thinks it has plenty of idle workers. 
hmmm, I wonder if the scoreboard cleanup logic in server_main_loop is
really cleaning out the worker_scores.  

perform_idle_server_maintenance doesn't skip over processes from the old
generation, or process slots with no pid, when it counts idle threads. 
That sounds like a bug that's been around for a while, and just might be
what's causing problems for Cliff with my patch.  It will also fix the
problem I see where it hangs after all the seg faults.  A fix will be
committed shortly.  We still should look at the cleanup logic though.  


View raw message