Mark Maunder wrote:

Definitely an option. I could blast the server with ap every 10 minutes. But it's not too elegant in that not all apache children are guaranteed to serve requests, so some will stay in swap.

Why not send them a meaningless signal? It'd force the kernel to bring them back to 'handle' the signal, and then they'd ignore it. You get all the children, it's simpler and doesn't muck up you logs or request counts.


Untested cron entry:
*/10 * * * * ps -u apache --option-show-only-pids | xargs kill -SIGARLM

cheers,





martin
--
--
Martin Langhoff |||| http://nzl.com.ar/



--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to