Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

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


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

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?


Comment on Re^4: Catalyst (app_)server.pl hangs a lot
Re^5: Catalyst (app_)server.pl hangs a lot
by Anonymous Monk on Nov 04, 2011 at 23:28 UTC

    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

      Thank you. Maybe I do not fully understand the Race conditions problems, but I am the only user of the app, at this moment. So simultaneous access is not happening, and I am just reading, not writing anything

      By the way, it sounds terrible if such problems can arise at any moment, isnīt it?

      My app is still small, but following your advice, I am gonna strip it down to the smallest pieces. Each test must wait five minutes to see if it hangs or not. It is gonna be a long time, as I canīt figure where to look

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-10-01 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls