in reply to Re: Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)
in thread Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)

The timeout is for heartbeats, if 10 seconds passes without a socket being established or any bytes transmitted. knirirrs program wouldn't hang because the timeout is too short, it would end. Either the website is throttling his download, or he is hitting some kind of memory limit with his program.
  • Comment on Re^2: Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)

Replies are listed 'Best First'.
Re^3: Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)
by knirirr (Scribe) on Mar 24, 2010 at 20:24 UTC

    I know that the server is OK as I can run a similar script (which uses libcurl instead) from Linux machines. Is there any usable means of determining if it's a memory problem?

    I tried running the script with the -d option which did not reveal anything as it simply locked up at the same point without revealing why.

      Is there any usable means of determining if it's a memory problem?

      Um, task manager, process explorer, event log...

      I tried running the script with the -d option which did not reveal anything as it simply locked up at the same point without revealing why.

      What point is that?