Page 1 of 1

Set Max Threads per Server

Posted: 30 Mar 2008, 05:22
by nobody
How do I set the Max number of threads per server?

Currently I have 1 Connection but it runs with 5-6 threads.

RE: Set Max Threads per Server

Posted: 30 Mar 2008, 09:53
by hugbug
There are several common threads: queue-control, pre-post-processor-control, frontend (if not in daemon-mode), remote-server, etc.
These threads run even if there are no active connections.
For each download-connection only one thread is created.

RE: Set Max Threads per Server

Posted: 05 Apr 2008, 15:10
by nobody
I have a feeling that nzbget sometimes goes over the configured connection limit.
It seems to happen after a connection error on one of the threads. Here is a log:

INFO Successfully downloaded part158.rar
INFO Successfully downloaded part159.rar
WARNING Article part160.rar [113/201] failed, could not fetch article: Connection closed by remote host
INFO Successfully downloaded part160.rar
INFO Successfully downloaded part161.rar
WARNING Article part162.rar [37/201] failed: Unexpected end of article
ERROR authorization for server failed (Answer: 502 Only 6 connections allowed per customer (User). )
WARNING Article part162.rar [42/201] @ server failed, could not join group: Connection closed by remote host
ERROR authorization for server failed (Answer: 502 Only 6 connections allowed per customer (User). )
WARNING Article part162.rar [42/201] @ server failed, could not join group: Connection closed by remote host
WARNING Article part162.rar [180/201] @ server failed: Unexpected end of article
ERROR authorization for server failed (Answer: 502 Only 6 connections allowed per customer (User). )
WARNING Article part162.rar [42/201] @ server failed, could not join group: Connection closed by remote host
ERROR authorization for server failed (Answer: 502 Only 6 connections allowed per customer (User). )
WARNING Article part162.rar [42/201] @ server failed, could not join group: Connection closed by remote host
ERROR authorization for server failed (Answer: 502 Only 6 connections allowed per customer (User). )
WARNING Article part162.rar [42/201] @ server failed, could not join group: Connection closed by remote host
INFO Successfully downloaded part163.rar
INFO Successfully downloaded part164.rar