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. -- There are only two ways to live your life. One is as though nothing is a miracle. The other is as if everything is. - Albert Einstein -- 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