httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: Reaping of idle Apache child processes
Date Tue, 21 Nov 2000 03:54:49 GMT
> 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.

OTOH, it might result in killing the process most likely to have
its innards within the fast L2 or VM cache.

*shrug*

Test it first, please.

....Roy

Mime
View raw message