Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 56657 invoked from network); 30 Mar 2009 16:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Mar 2009 16:24:30 -0000 Received: (qmail 23300 invoked by uid 500); 30 Mar 2009 16:24:29 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 23279 invoked by uid 500); 30 Mar 2009 16:24:29 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 23271 invoked by uid 99); 30 Mar 2009 16:24:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 16:24:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pharkins@gmail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 16:24:22 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1273277ywm.40 for ; Mon, 30 Mar 2009 09:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=szDNz3Ywx3bflq15qAwWHAcLNdjrhTRhrSHZTXSMV2w=; b=XV0+c8nObOO3qYn5x928tdI/vPWHf31F5TvdG2FisnMf3uaC48EIe0iB97wC6V5bAl d6Il2+mRjs0uI3iLKoQE+3dnchjfinxGKO2Q7jbaAawI0lKVQI8WZQXUbB3hQGFwCrG+ qgUGJ8TFbqibXLKwRjILbl44Iu07P6v9t/SQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TLehDG90X0r5J9/C6ZgYro7p7hd1BkeTM6eE7rXFwcuPdD0+Qd5ojON+Id6ZESyKlE bin6dWKdgPzeI7GyS0mJIT//tcZWvZkcLwVTevNa8K4KCSS+iNSqEo63MBS/RszvNGTx +5ef/86cSaINVk4CTyELd/DMhBEbSUQ0LNdGw= MIME-Version: 1.0 Received: by 10.100.57.13 with SMTP id f13mr4081310ana.143.1238430241747; Mon, 30 Mar 2009 09:24:01 -0700 (PDT) In-Reply-To: References: <66887a3d0903291334i139c9c39s16e8bdbcb5bba740@mail.gmail.com> <66887a3d0903291352p2e327b99if8774150aff32efb@mail.gmail.com> <7e79c5b90903300446t42ea7229q19aedc3d75b318ee@mail.gmail.com> Date: Mon, 30 Mar 2009 12:24:01 -0400 Message-ID: <66887a3d0903300924n49897377qfffa642c65d72968@mail.gmail.com> Subject: Re: Profiling live mod_perl backends From: Perrin Harkins To: Cosimo Streppone Cc: Mod_perl users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Mar 30, 2009 at 9:14 AM, Cosimo Streppone wrote: > The problem that we had, this was in November last year, > was that all the backends were at load 15.0-20.0 (normal was ~3-4) > after an update to the application. That's pretty rare (hitting a CPU problem), and it sounds severe enough that your idea of automated stress tests before deployment would work for catching it. > While I try to get there, I thought it might be useful to dedicate 1 of the > live backends to this "live profiling". Even if the application now is > not having any problem, even at peak times. Sure, give it a shot. My suggestion would be to not collect too much data before analyzing it though, at least at first. Devel::NYTProf can take a really long time if you feed it more than a few requests at once. - Perrin