Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Catalyst (app_)server.pl hangs a lot

by miguelele (Beadle)
on Nov 03, 2011 at 21:47 UTC ( #935787=note: print w/ replies, xml ) Need Help??


in reply to Re: Catalyst (app_)server.pl hangs a lot
in thread Catalyst (app_)server.pl hangs a lot

Wowo, I have returned to my computer and the last page I tested has finally rendered!!. Las action took 968.4581s. So the server script does not hangs. It is heavily delayed!!.

I wonder how I can monitor the action even deeper


Comment on Re^2: Catalyst (app_)server.pl hangs a lot
Re^3: Catalyst (app_)server.pl hangs a lot
by Anonymous Monk on Nov 04, 2011 at 03:49 UTC

    I wonder how I can monitor the action even deeper

    Finding such a huge delay should be easy, just look for one of sleep, DBI...execute, or for(1..1_000_000){ DoSomethingExpensive(); }

    This being a Catalyst app, look in your model

      Well, it seems like a time out of some kind. About FIVE minutes

      I can repeat the same action (reload the page) as many or as few times as I want. Then I leave it for a while, about five minutes, and when I reload the page (even from another computer) I get the weird big delay again.

      Can you imagine what can have such five minutes timeout? DBI configuration or something?

        Can you imagine what can have such five minutes timeout? DBI configuration or something?

        I already imagined 3 things

        4 might be race conditions (lock flock fork thread)

        and 5 is of course MAGICK

        You have to start narrowing things down, so turn logging on, or insert your bunches of print statements, and figure out where it hangs

        Fix every error or warning your encounter

        Repeat repeat repeat until its fixed

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935787]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-07-14 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls