Downloader keeps crashing
Posted: July 16th, 2012, 4:56 pm
My Ubuntu 12.04 server has been downloading steadily today, when all of a sudden I noticed my download speed at 0 KB/s. I checked the logs and found that the downloader keeps crashing, causing sabnzbd to reload:
The rest of the app is responsive, as I'm able to remove and readd those downloads, but as soon as it starts to "dial out" to my usenet provider, the same issue occurs. One thing I've noticed, which may or may not be responsible, is the following error whenever I try an access the Servers section on the Config page:
That page throws a "500 Internal Server Error".
Code: Select all
2012-07-16 17:48:06,460::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,461::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,462::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,463::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,464::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,464::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,465::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,466::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,467::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:06,468::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:38,486::INFO::[__init__:994] Restarting because of crashed downloader
2012-07-16 17:48:40,310::INFO::[__init__:350] SABnzbd shutting down...
----yadda yadda------
2012-07-16 17:48:42,459::INFO::[sabnzbdplus:1529] Starting sabnzbdplus-0.7.1
2012-07-16 17:48:42,462::INFO::[dirscanner:265] Dirscanner starting up
2012-07-16 17:48:42,463::INFO::[urlgrabber:78] URLGrabber starting up
2012-07-16 17:48:43,463::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:43,464::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:43,465::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-07-16 17:48:43,466::INFO::[downloader:375] [email protected]:563: Initiating connection
----wash, rinse, repeat------
Code: Select all
2012-07-16 17:54:17,857::INFO::[_cplogging:55] [16/Jul/2012:17:54:17] HTTP
Request Headers:
AUTHORIZATION: Basic -----
X-FORWARDED-SERVER: -----
REFERER: -----
X-FORWARDED-HOST:-----
ORIGIN: -----
Content-Length: 30
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
CONNECTION: Keep-Alive
COOKIE: jqCookieJar_tablesorter=-----; plushQueuePerPage=20; plushHistPerPage=20; advanced_toggle_checked=1; plushMultiOps=0; plushContainerWidth=100%25; plushNoTopMenu=0
Remote-Addr: 127.0.0.1
X-REQUESTED-WITH: XMLHttpRequest
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.41 Safari/537.1
HOST: xxxxx
ACCEPT: */*
ACCEPT-LANGUAGE: en-US,en;q=0.8
X-FORWARDED-FOR: 204.14.236.210
Content-Type: application/x-www-form-urlencoded
ACCEPT-ENCODING: gzip,deflate,sdch
2012-07-16 17:54:17,858::DEBUG::[_cplogging:55] [16/Jul/2012:17:54:17] HTTP Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 866, in index
grand, month, week, day = BPSMeter.do.get_sums()
File "/usr/share/sabnzbdplus/sabnzbd/bpsmeter.py", line 248, in get_sums
return (sum([v for v in self.grand_total.values()]),
TypeError: unsupported operand type(s) for +: 'int' and 'str'
2012-07-16 17:54:21,388::INFO::[_cplogging:55] [16/Jul/2012:17:54:21] HTTP
Request Headers:
AUTHORIZATION: Basic [auth removed/jcfp]
X-FORWARDED-SERVER: ----
REFERER:----
X-FORWARDED-HOST: -----
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
CONNECTION: Keep-Alive
COOKIE: jqCookieJar_tablesorter=------; plushQueuePerPage=20; plushHistPerPage=20; advanced_toggle_checked=1; plushMultiOps=0; plushContainerWidth=100%25; plushNoTopMenu=0
Remote-Addr: 127.0.0.1
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.41 Safari/537.1
HOST: -----
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: en-US,en;q=0.8
X-FORWARDED-FOR: [ip removed/jcfp]
ACCEPT-ENCODING: gzip,deflate,sdch
2012-07-16 17:54:21,389::DEBUG::[_cplogging:55] [16/Jul/2012:17:54:21] HTTP Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 1464, in index
new[svr]['amounts'] = to_units(t), to_units(m), to_units(w), to_units(d)
File "/usr/share/sabnzbdplus/sabnzbd/misc.py", line 639, in to_units
val = str(abs(val)).strip()
TypeError: bad operand type for abs(): 'str'