Re: Profiling live mod_perl backends

2009-03-30 Thread Perrin Harkins
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 th

Re: Profiling live mod_perl backends

2009-03-30 Thread Rolf Banting
On Mon, Mar 30, 2009 at 2:14 PM, Cosimo Streppone wrote: > In data 30 mars 2009 alle ore 13:46:09, Rolf Banting > ha scritto: > > > On Sun, Mar 29, 2009 at 9:52 PM, Perrin Harkins > > wrote: > > > >> On Sun, Mar 29, 2009 at 4:44 PM, Cosimo Streppone > >> wrote: > >> > The main problem is that i

Re: Profiling live mod_perl backends

2009-03-30 Thread Cosimo Streppone
In data 30 mars 2009 alle ore 13:46:09, Rolf Banting ha scritto: > On Sun, Mar 29, 2009 at 9:52 PM, Perrin Harkins > wrote: > >> On Sun, Mar 29, 2009 at 4:44 PM, Cosimo Streppone >> wrote: >> > The main problem is that in the past we experienced some kind of >> > performance problems that on

Re: Profiling live mod_perl backends

2009-03-30 Thread Carl Johnstone
Cosimo Streppone wrote: However, some bad problems start to be evident only with really high req/s rate. Another possibility is that once you hit full load you're just pushing the server over the edge for what it can manage load-wise. Use your normal OS monitoring tools and ensure that you've

Re: Profiling live mod_perl backends

2009-03-30 Thread Rolf Banting
On Sun, Mar 29, 2009 at 9:52 PM, Perrin Harkins wrote: > On Sun, Mar 29, 2009 at 4:44 PM, Cosimo Streppone > wrote: > > The main problem is that in the past we experienced some kind of > > performance problems that only manifested themselves really clearly > > in production and only at peak traf

Re: Profiling live mod_perl backends

2009-03-29 Thread Perrin Harkins
On Sun, Mar 29, 2009 at 4:44 PM, Cosimo Streppone wrote: > The main problem is that in the past we experienced some kind of > performance problems that only manifested themselves really clearly > in production and only at peak traffic hours. > Out of peak hours, everything was fine. That sounds l

Re: Profiling live mod_perl backends

2009-03-29 Thread Cosimo Streppone
Perrin Harkins wrote: On Sun, Mar 29, 2009 at 4:08 PM, Cosimo Streppone wrote: Is profiling mod_perl like this at all possible? Yes. Does that make sense? No. You'll get so much data that you won't be able to make heads or tails of it. And profiling is heavy enough that people hard

Re: Profiling live mod_perl backends

2009-03-29 Thread Perrin Harkins
On Sun, Mar 29, 2009 at 4:08 PM, Cosimo Streppone wrote: > Is profiling mod_perl like this at all possible? Yes. > Does that make sense? No. You'll get so much data that you won't be able to make heads or tails of it. And profiling is heavy enough that people hardly ever do it on production s

Profiling live mod_perl backends

2009-03-29 Thread Cosimo Streppone
Hi, I have no experience in profiling mod_perl. I'd like to use Devel::NYTProf to profile a production mod_perl backend. There's an LVS load balancer in front of the mod_perl backends. So far my idea is: - identify 1 backend that I want to execute profiling on - make sure it's idle (weight=0 in