Hi malcolm,
Malcolm J Harwood wrote:
On Thursday 14 October 2004 04:23 am, Victor Tsang wrote:
We use mod_perl heavily here, and lately I notice some apache
children for some reason chew up large amount of cpu (indeed all cpu).
Using apache's server-status i can tell it is one of the new script
we have deployed that caused the probloem, but trouble is, the script
is big, where should I start looking.
This might be stating the obvious, but have you run it under a profiler? (
Devel::Profiler::Apache is what I've been using). If it's a problem with the actual perl script, that should give you a good idea what part of the script is eating CPU.
I have that setup in the stage system, but not in the production. These unusal problem we have have never been seen in our staging platform, they are always kick started by condition we have never expected. Or would you suggest I install that in production as well?
Tor.
-- <!--------------------------------------------- Victor Development Engineer Outblaze Ltd ---------------------------------------------->
-- 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