Downloads consistently stall after 3.5 minutes

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
bluesk1d
Release Testers
Release Testers
Posts: 12
Joined: September 2nd, 2009, 12:22 am

Downloads consistently stall after 3.5 minutes

Post by bluesk1d »

Version: 0.4.11 Final
OS: Vista Ultimate x64 SP2
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: Vista firewall
Are you using IPV6? Yes along with IPv4
Is the issue reproducible? Yes

It is as strange as it sounds. Everything was just peachy for a few days and then one day (after setting the app to shutdown the PC when finished the night before) I fired it up to find out the downloads were stalling after only a few minutes. The queue page never reflected this in the download speed or ETA indicators so I didn't notice for a while. The web interface still responds and I can navigate around but attempting to save any settings or view live data is no joy. Attempting to save anything results in a page timeout and all stats are stale data. After closer examination, I can see that this happens after 3.5 minutes from the time the app is forcibly closed and re-opened. I had the timeout for the servers set to 200 which is curiously just about 3.5 minutes.

As I type this, I realized whatever value I enter for server timeout in the servers config, that is how long it works until it barfs and stops responding. The web GUI seems to think the max is 200. Is there a way to make this unlimited?

I set the logging level to 3 and the last lines after the stall are not found anywhere else so I assume they are related to the problem:

2009-09-01 21:54:48,782::WARNING::[downloader] Thread [email protected]:119: timed out
2009-09-01 21:54:48,783::DEBUG::[trylist] Reseting .__try_list

I have 4 servers defined. Three are IPv6 over a tunnel broker and one is straight via v4. They all tank at the same time.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads consistently stall after 3.5 minutes

Post by shypike »

A longer timeout won't help. The timeout just specifies how long SABnzbd should wait for a server answer.
What you describe is what happens when a server is down
or very unresponsive.
Eweka's free ipv6 server is not exactly reliable.
Have you tried other servers or even another news program?
bluesk1d
Release Testers
Release Testers
Posts: 12
Joined: September 2nd, 2009, 12:22 am

Re: Downloads consistently stall after 3.5 minutes

Post by bluesk1d »

Like I mentioned in my post, I have 4 servers defined. One of them is the one I get free with my ISP and it always works. All 4 servers download at full speed for whatever duration I set the timeout to be and then abruptly stop. I have tried timeouts between 30 and 200 seconds and it is reproducible every time. I have newzbin and it works but I am not a huge fan of it. SAB is much better IMO.

Or perhaps I am not understanding how this app handles timed out servers. If one of the 4 times out, it doesn't affect the other 3 does it?
Last edited by bluesk1d on September 2nd, 2009, 1:18 pm, edited 1 time in total.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Downloads consistently stall after 3.5 minutes

Post by switch »

Try just the one server (your isp one), does download still stall?

If not, keep adding a server one at a time and wait to see if it stalls.

It is likely one of the 4 servers is blocking SABnzbd.
bluesk1d
Release Testers
Release Testers
Posts: 12
Joined: September 2nd, 2009, 12:22 am

Re: Downloads consistently stall after 3.5 minutes

Post by bluesk1d »

I think that's exactly what it was. This morning, all the servers are playing nice and not timing out so it isn't exhibiting that behavior. Is there a setting or tweak I need to apply to have it be more robust if one of my servers is being flaky so it doesn't hose up everything else and make me restart the app?

Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads consistently stall after 3.5 minutes

Post by shypike »

The next release (0.5.0) will have features to prevent unreliable servers from blocking everything.
0.4.11 has issues with this situation.
bluesk1d
Release Testers
Release Testers
Posts: 12
Joined: September 2nd, 2009, 12:22 am

Re: Downloads consistently stall after 3.5 minutes

Post by bluesk1d »

Thanks for taking the time to explain. I look forward to trying 0.5. Make sure you grab yourself a beer with the $20 spot I just donated. Cheers!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Downloads consistently stall after 3.5 minutes

Post by shypike »

Thank you!
If you wish, you can sign-up for the 0.5.0 Alpha test program.
See "Beta Releases" board.
Post Reply