Re: Re: Debugging a long process

2011-06-15 Thread Tosh Cooey
Hi Fred, I like the idea of Apache may be blocking on other processes but the Devel::NYTProf docs don't seem to indicate if it would be helpful in tracking down the reason for a 30 second execution under mod_perl versus a 9 second execution from the shell. Also there seems to be some issues

Re: Debugging a long process

2011-06-15 Thread McCarrell, Jeff
Hey Tosh From my experience, I would guess you may seeing interactions between the major components of your system as load grows. If my hunch is true, then following a single request may not show the issue. You may need a way to load your system to the point where it shows the issue. If all these

Re: Re: Debugging a long process

2011-06-15 Thread Fred Moyer
On Wed, Jun 15, 2011 at 1:29 PM, Tosh Cooey t...@1200group.com wrote: Hi Fred, I like the idea of Apache may be blocking on other processes but the Devel::NYTProf docs don't seem to indicate if it would be helpful in tracking down the reason for a 30 second execution under mod_perl versus a 9

Re: Debugging a long process

2011-06-15 Thread Tosh Cooey
Hi Jeff, this is very sensible and will likely have to be what gets done. To respond to Fred, my DEV environment is also a small EC2 instance since I want to mirror my production environment. This line of thought prodded me to check my environments and it seems that the PROD Apache is

Re: Debugging a long process

2011-06-15 Thread Dave Hodgkinson
On 15 Jun 2011, at 22:53, Tosh Cooey wrote: I am waiting to hear back from my server admin before I kill him, but it seems that maybe there's some issues with my Ubuntu and the worker MPM on a small EC2 instance. I've been doing this stuff since web 1.0 and have always found prefork to

Re: Debugging a long process

2011-06-09 Thread Tosh Cooey
I haven't tried Devel::NYTProf, but the blocking seems to have been the keyword here... root 2661 0.0 1.5 37900 27492 ?Ss Jun08 0:00 /usr/sbin/apache2 -k start www-data 3875 0.0 1.3 37264 23300 ?S06:25 0:00 /usr/sbin/apache2 -k start www-data 3882 3.9

Re: Debugging a long process

2011-06-09 Thread Dave Hodgkinson
On 9 Jun 2011, at 17:13, Tosh Cooey wrote: I haven't tried Devel::NYTProf, but the blocking seems to have been the keyword here... root 2661 0.0 1.5 37900 27492 ?Ss Jun08 0:00 /usr/sbin/apache2 -k start www-data 3875 0.0 1.3 37264 23300 ?S06:25 0:00

Debugging a long process

2011-06-08 Thread Tosh Cooey
I have a mod_perl Registry script that is taking about 30 seconds to execute. I am trying to debug it but when I run the script from the command line or the debugger it only takes 9 seconds to execute. I am running Apache/2.2.11 (Ubuntu) mod_perl/2.0.4 Perl/v5.10.0 Is there something

Re: Debugging a long process

2011-06-08 Thread Fred Moyer
On Wed, Jun 8, 2011 at 12:50 PM, Tosh Cooey t...@1200group.com wrote: I have a mod_perl Registry script that is taking about 30 seconds to execute. I am trying to debug it but when I run the script from the command line or the debugger it only takes 9 seconds to execute. Sounds like Apache