On Wed, Jun 8, 2011 at 12:50 PM, Tosh Cooey 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 may be blocking
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 8
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
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
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
running
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
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
On Wed, Jun 15, 2011 at 1:29 PM, Tosh Cooey 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
> second execut