Too many connections to server xxx

Report & discuss bugs found in 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
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Too many connections to server xxx

Post by blackkatt »

Hi,

So I updated to the latest version yesterday 1.0.2 (Windows) and i read that false message "Too many connections to server" was fixed.
Now then funny thing is that I did not have a problem prior to updating to 1.0.2 and now I have O0

2016-05-10 04:11:26,023::ERROR::[downloader:579] Too many connections to server xxx
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: Too many connections to server xxx

Post by sander »

You can reveal the real message by going to Servers, and then click on Test Server. Post that error message here.
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: Too many connections to server xxx

Post by blackkatt »

What do you mean with real? I don't have too many connections to server.
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: Too many connections to server xxx

Post by sander »

blackkatt wrote:What do you mean with real?
The real message sent by your newsserver
blackkatt wrote:I don't have too many connections to server.
... so some other newsserver response (the 'real' response) is triggering that SAB message.

But wait: I had a look at the source code:

Code: Select all

                            logging.debug('Server login problem: %s, %s', ecode, msg)
                            if ecode in ('502', '481', '400') and clues_too_many(msg):
                                # Too many connections: remove this thread and reduce thread-setting for server
                                # Plan to go back to the full number after a penalty timeout
                                if server.active:
                                    server.errormsg = T('Too many connections to server %s') % display_msg
                                    logging.error(T('Too many connections to server %s'), server.id)
So: set SABnzbd's logging to +Debug, re-download, and as soon you see the error message check your sabnzbd.log for a line with "Server login problem". Post the output here.

For example

Code: Select all

2016-05-10 20:23:35,650::DEBUG::[downloader:574] Server login problem: 482, 482 Too many connections for your user (nntpswitch)
and

Code: Select all

$ cat ~/.sabnzbd/logs/sabnzbd.log | grep -i -e "too many" -e "server login problem"

2016-05-10 20:37:16,561::DEBUG::[downloader:574] Server login problem: 400, 400 dreader37.news.xs4all.nl: Too many connections from your host (max 4) - [email protected]
2016-05-10 20:37:16,561::ERROR::[downloader:580] Too many connections to server newszilla6.xs4all.nl
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: Too many connections to server xxx

Post by blackkatt »

Ok will do tomorrow
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
thorrrr
Newbie
Newbie
Posts: 22
Joined: October 29th, 2011, 5:24 am

Re: Too many connections to server xxx

Post by thorrrr »

HI

I have same issue if i test server i get Connection Successful

But when i open Sab i get

19/05/2016 11:54 Too many connections to server news.usenetserver.com
ERROR 19/05/2016 11:42 Too many connections to server news.usenetserver.com
ERROR 19/05/2016 11:42 Too many connections to server news.iad.usenetserver.com
ERROR 19/05/2016 11:42 Too many connections to server news.iad.usenetserver.com
ERROR 19/05/2016 11:42 Too many connections to server news.iad.usenetserver.com
ERROR 18/05/2016 20:56 Too many connections to server news.usenetserver.com
ERROR 18/05/2016 20:56 Too many connections to server news.iad.usenetserver.com
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Too many connections to server xxx

Post by shypike »

We're working on this.
thorrrr
Newbie
Newbie
Posts: 22
Joined: October 29th, 2011, 5:24 am

Re: Too many connections to server xxx

Post by thorrrr »

HI Shypike

Just upgraded to 1.0.3 [927ba3c] but still getting same https://dl.dropboxusercontent.com/u/928 ... ection.jpgeven though this release says it is fixed????
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Too many connections to server xxx

Post by safihre »

Stupid question: but why not reduce the number of connections by a few?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: Too many connections to server xxx

Post by blackkatt »

safihre wrote:Stupid question: but why not reduce the number of connections by a few?
This is not a problem any more (I think) but the reason, at least for me. Not to reduce number of connection is ofc speed! I have mine set to 49 of 50. Anything less I lose speed.
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
EvilFlanders
Newbie
Newbie
Posts: 23
Joined: May 25th, 2016, 4:02 pm

Re: Too many connections to server xxx

Post by EvilFlanders »

Hi guys,

Not sure I should create a new thread for a problem with version 2 or re-use that one.

I've been having this problem since version 2. No fix unfortunately in the next releases.

Happens randomly, whether I set my max connections to 100% of what I'm allowed or 70%.

Here is the +debug log:
2017-09-10 12:38:07,493::DEBUG::[downloader:628] Server login problem: 502, 502 Too many connections
2017-09-10 12:38:07,493::WARNING::[downloader:636] Too many connections to server sslreader.eweka.nl
2017-09-10 12:38:07,594::DEBUG::[downloader:847] Set planned server resume sslreader.eweka.nl in 10 mins
Is it another problem of ghost connections or that have not been released? I can see a problem when reconnecting:
2017-09-10 12:43:20,724::DEBUG::[decoder:118] Decoding part154of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,726::DEBUG::[decoder:118] Decoding part155of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,735::DEBUG::[decoder:118] Decoding part158of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,757::DEBUG::[decoder:118] Decoding part150of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,831::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-10 12:43:20,832::DEBUG::[downloader:117] sslreader.eweka.nl: Re-using address 81.171.92.233
2017-09-10 12:43:20,934::INFO::[newswrapper:122] [email protected]: Connected using TLSv1 (AES128-SHA)
2017-09-10 12:43:20,964::DEBUG::[decoder:118] Decoding part159of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,977::DEBUG::[decoder:118] Decoding part164of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:20,991::DEBUG::[downloader:628] Server login problem: 502, 502 Too many connections
2017-09-10 12:43:20,991::WARNING::[downloader:636] Too many connections to server sslreader.eweka.nl
2017-09-10 12:43:21,093::DEBUG::[downloader:847] Set planned server resume sslreader.eweka.nl in 10 mins
2017-09-10 12:43:21,112::DEBUG::[decoder:118] Decoding part161of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:21,116::DEBUG::[decoder:118] Decoding part162of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:21,123::DEBUG::[decoder:118] Decoding part160of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:21,131::DEBUG::[decoder:118] Decoding part163of164.Y4YlSdDBUBIY$[email protected]
2017-09-10 12:43:21,134::DEBUG::[decoder:118] Decoding [email protected]
2017-09-10 12:43:15,194::DEBUG::[decoder:118] Decoding [email protected]
2017-09-10 12:43:15,207::INFO::[newswrapper:122] [email protected]: Connected using TLSv1 (AES128-SHA)
2017-09-10 12:43:15,209::DEBUG::[decoder:118] Decoding [email protected]
2017-09-10 12:43:15,278::DEBUG::[downloader:628] Server login problem: 502, 502 Too many connections
2017-09-10 12:43:15,278::WARNING::[downloader:636] Too many connections to server sslreader.eweka.nl
2017-09-10 12:43:15,379::DEBUG::[downloader:847] Set planned server resume sslreader.eweka.nl in 10 mins
2017-09-10 12:43:15,397::DEBUG::[decoder:118] Decoding [email protected]
2017-09-10 12:43:15,413::DEBUG::[decoder:118] Decoding [email protected]
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Too many connections to server xxx

Post by safihre »

Eweka probably has a longer time out. Go into Config Servers, click advanced and set timeout to 120s. Or maybe 150.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
EvilFlanders
Newbie
Newbie
Posts: 23
Joined: May 25th, 2016, 4:02 pm

Re: Too many connections to server xxx

Post by EvilFlanders »

OK thanks. It was already at 120s. I'll try with 150s.
I just realised that it could be on eweka's side. Maybe they're cheap for a reason.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Too many connections to server xxx

Post by safihre »

While it could be SABnzbd, I have looked into this part of the code in such detail and if it was making ghost-connections these forums would be overflowing with bug reports :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Too many connections to server xxx

Post by safihre »

While it could be SABnzbd, I have looked into this part of the code in such detail and if it was making ghost-connections these forums would be overflowing with bug reports :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply