Re: Debugging a long process

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Wed, Jun 8, 2011 at 12:50 PM, Tosh Cooey <[email protected]> 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 on other processes?  Have you tried
Devel::NYTProf with your program on the command line?

>
> I am running Apache/2.2.11 (Ubuntu) mod_perl/2.0.4 Perl/v5.10.0
>
> Is there something obvious I should be looking at, and does anyone have any
> tips for debugging something like this?
>
> Thanks!
>
> Tosh
>
> --
> McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.