httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Reaping of idle Apache child processes
Date Sat, 18 Nov 2000 15:00:49 GMT
Greg Stein wrote:
> 
> On Fri, Nov 17, 2000 at 03:50:41PM -0500, Jim Jagielski wrote:
> > In both 1.3 and 2.0, when we kill off the idle child process
> > in perform_idle_server_maintenance(), we simply choose the
> > highest numbered idle process. I think it would make sense to
> > choose the highest numbered and highest cpu used idle process
> > (basically, the highest numbered and most "used" process).
> > Might be a good way of handling memory leaks as well as
> > possibly preventing some minor thrashing in killing a recently
> > created, under-used process.
> > 
> > Comments?
> 
> If you can get that information, then yah... makes total sense.
> 

On most platforms, we have the times info, on the others we can
use some other metric like number of connections. The idea is
to kind of be MaxRequestsPerChild aware, even when it's not
active.

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Casanova will have many weapons; To beat him you will
              have to have more than forks and flatulence."

Mime
View raw message