Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 47712 invoked from network); 2 Jun 2004 15:49:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 15:49:53 -0000 Received: (qmail 83820 invoked by uid 500); 2 Jun 2004 15:49:46 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 83806 invoked by uid 500); 2 Jun 2004 15:49:46 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 83792 invoked by uid 99); 2 Jun 2004 15:49:46 -0000 Subject: Re: CPU usage of mod_perl scripts From: Perrin Harkins To: Batara Kesuma Cc: Modperl List In-Reply-To: <20040602103746.3478dd8b.bkesuma@ml.gaijinweb.com> References: <20040602103746.3478dd8b.bkesuma@ml.gaijinweb.com> Content-Type: text/plain Message-Id: <1086191340.7217.39.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 02 Jun 2004 11:49:01 -0400 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 2004-06-01 at 21:37, Batara Kesuma wrote: > I am using mod_perl 1.99_13 with httpd 2.0.48. I noticed an unusually > high CPU usage on my machine. I tried to figure out with top, and I > found out that httpd processes were using a lot of CPU. > How do I know which script is eating the most of the CPU usage? If you have too many to test them one at a time, you can use mod_benchmark or this item in the guide: http://perl.apache.org/docs/1.0/guide/performance.html#Benchmarking_PerlHandlers - Perrin -- 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