060b3: one faulty server spoiling the others?

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1005
Joined: February 7th, 2008, 12:45 pm

Re: 060b3: one faulty server spoiling the others?

Post by jcfp »

shypike wrote:Can you try the attached replacement modules?
Greatly reduces the problem, only seen an error 9 file desciptor thing once, for a server that is supposed to work. Looks like the connection was established but then timed out? Log:
2011-03-19 13:16:33,918::INFO::[downloader:347] [email protected]:563: Initiating connection

2011-03-19 13:18:33,961::INFO::[downloader:604] Thread [email protected]:563: timed out
2011-03-19 13:18:33,975::DEBUG::[decoder:92] Decoding
2011-03-19 13:18:34,123::DEBUG::[decoder:92] Decoding
2011-03-19 13:18:34,225::DEBUG::[decoder:92] Decoding
2011-03-19 13:18:34,252::DEBUG::[bpsmeter:179] bps: 10355820.4082
2011-03-19 13:18:34,282::DEBUG::[decoder:92] Decoding
2011-03-19 13:18:34,561::INFO::[newswrapper:222] Failed to connect: (9, 'Bad file descriptor') [email protected]:563

2011-03-19 13:20:33,963::INFO::[downloader:347] [email protected]:563: Initiating connection

2011-03-19 13:20:34,371::INFO::[downloader:536] Connecting [email protected]:563 finished
whereas the nonfunctional test server only results in this kind of error msg:
2011-03-19 13:22:34,953::INFO::[downloader:347] [email protected]:119: Initiating connection
2011-03-19 13:23:35,020::INFO::[newswrapper:222] Failed to connect: (110, 'timed out') [email protected]:119

(Neither of those causes the downloading to stop.)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 060b3: one faulty server spoiling the others?

Post by shypike »

sander wrote: BTW / FWIW:
I thought SAB would throttle down it's connection setups to a non-responding server? In the current setup it keeps on connecting to www.cisco.com each minute.
It will do quite a number of attempts before applying the 10 minute penalty.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 060b3: one faulty server spoiling the others?

Post by shypike »

jcfp wrote: Greatly reduces the problem, only seen an error 9 file desciptor thing once, for a server that is supposed to work. Looks like the connection was established but then timed out?
Possibly these "error 9" events happen in the original code too,
but nobody noticed it because it didn't cause problems.
"error 9" normally means "operation on closed socket".
Which would mean that for some reason the socket was botched
and a simple new attempt would be sufficient.
Normally sockets are re-used even when a connection is dropped.

I can now reproduce the error 9 easily by setting an extremely short timeout (0.1 sec).
But this is a rather artificial situation.
User avatar
sander
Release Testers
Release Testers
Posts: 9113
Joined: January 22nd, 2008, 2:22 pm

Re: 060b3: one faulty server spoiling the others?

Post by sander »

With 060 RC1 I get the same faulty behaviour: download hanging. SAB is working very hard on two bad servers (one unreachable, one out-of-retention), and ignoring the good server eweka.


Should I open a separate thread?

Code: Select all


2011-04-10 12:43:20,157::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:20,158::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:20,199::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:20,202::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:50,189::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:50,191::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:50,192::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:50,230::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:50,231::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:50,232::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:51,197::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:51,198::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:43:51,231::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:43:51,232::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:21,233::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:21,235::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:21,236::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:21,271::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:21,273::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:21,274::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:22,244::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:22,245::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:22,281::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:22,282::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:52,279::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:52,281::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:52,282::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:52,324::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:52,325::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:52,333::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:53,285::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:53,286::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:44:53,328::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:44:53,341::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:45:23,323::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:45:23,324::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:45:23,325::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:45:23,371::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:45:23,374::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:45:23,379::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:45:24,328::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:45:24,329::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-04-10 12:45:24,371::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119
2011-04-10 12:45:24,372::INFO::[newswrapper:223] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:119


Last edited by sander on April 10th, 2011, 5:53 am, edited 1 time in total.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 9113
Joined: January 22nd, 2008, 2:22 pm

Re: 060b3: one faulty server spoiling the others?

Post by sander »

and CTRl-C and then restart SAB does not solve it.

After disabling the unreachable reader.ipv6.xsnews.nl, the download goes OK.
Last edited by sander on April 10th, 2011, 5:54 am, edited 1 time in total.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 060b3: one faulty server spoiling the others?

Post by shypike »

There is a difference with the previous situation.
The server isn't quite dead, it says "connection refused".
I'll have a look, assuming I can reproduce the same server behaviour.
Post Reply