100% CPU load when downloading anything
Forum rules
Help us help you:
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.
100% CPU load when downloading anything
Recently I have been plagued by a 100% CPU load when I try to download. If I pause the download normal CPU cycles continue. This happens on any download. If I have a single file or multiple files. After googling the issue I saw a post from a couple of years back that sad to attempt to do a que repair. This did not fix my issue. Any other suggestions?
v0.7.20
Thanks in advance,
WeirDave
v0.7.20
Thanks in advance,
WeirDave
Re: 100% CPU load when downloading anything
What kind of hardware and OS?
Re: 100% CPU load when downloading anything
Hi guys, new to the forum. I just installed sickbeard, couchpotato and sabnzbd in Ubuntu and am having the same/similar issue. Sabnzbd starts and everything runs smooth for a little while. Downloads start and shortly after the GUI becomes unresponsive.shypike wrote:What kind of hardware and OS?
Setup:
Ubuntu:14.04 (VM)
RAM: 6GB
CPU: 1 socket with 6 cores
Sabnzbd:
As I was typing the reply I noticed several entries of the following error in Sabnzbd:
********************************************************************************************************************************************************************************************************
[02/Mar/2015:00:18:23] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
********************************************************************************************************************************************************************************************************
I installed the whole setup using this guide:
http://www.htpcbeginner.com/install-sabnzbd-on-ubuntu/
Thank you in advance for your help!
Re: 100% CPU load when downloading anything
WeirDave, were you able to resolve this? I am having same/similar issueWeirDave wrote:Recently I have been plagued by a 100% CPU load when I try to download. If I pause the download normal CPU cycles continue. This happens on any download. If I have a single file or multiple files. After googling the issue I saw a post from a couple of years back that sad to attempt to do a que repair. This did not fix my issue. Any other suggestions?
v0.7.20
Thanks in advance,
WeirDave

Re: 100% CPU load when downloading anything
Kozunak,
If you set Logging to +Debug (via Status -> Latest Warnings -> Logging) and restart SABnzbd , the sabnzbd.log (via Status -> Latest Warnings -> Show Logging) will show a line like "CPU Pystone available performance is 83028". What does your logging show?
Furthermore, on Linux (and other Unix-like?) systems, SABnzbd shows in the upper right corner something like "Sysload: 0.00 | 0.01 | 0.05 | V=334M R=24M". What do you see there?
If you set Logging to +Debug (via Status -> Latest Warnings -> Logging) and restart SABnzbd , the sabnzbd.log (via Status -> Latest Warnings -> Show Logging) will show a line like "CPU Pystone available performance is 83028". What does your logging show?
Furthermore, on Linux (and other Unix-like?) systems, SABnzbd shows in the upper right corner something like "Sysload: 0.00 | 0.01 | 0.05 | V=334M R=24M". What do you see there?
Re: 100% CPU load when downloading anything
Here is the info requested:sander wrote:Kozunak,
If you set Logging to +Debug (via Status -> Latest Warnings -> Logging) and restart SABnzbd , the sabnzbd.log (via Status -> Latest Warnings -> Show Logging) will show a line like "CPU Pystone available performance is 83028". What does your logging show?
Furthermore, on Linux (and other Unix-like?) systems, SABnzbd shows in the upper right corner something like "Sysload: 0.00 | 0.01 | 0.05 | V=334M R=24M". What do you see there?
2015-03-02 08:09:03,046::DEBUG::[sabnzbdplus:1294] CPU Pystone available performance is 268456
Sysload: 0.00 | 0.01 | 0.05 | V=3538M R=44M
Re: 100% CPU load when downloading anything
Wow ... that is a beast of a machine, and so the CPU load is low "0.00".
Where do you get the information that the CPU load is 100%?
Where do you get the information that the CPU load is 100%?
Re: 100% CPU load when downloading anything
Yeah, I threw more resources at it to try to remedy the situation
Ideally, I would like to scale back. To answer your question, I get that info from PRTG monitoring that host. The CPUs show to go to 100%. I am assuming the Sabnzbd gui would also show 100% but it is unresponsive so I am unable to get the info that way...

Re: 100% CPU load when downloading anything
scale back to what?
Re: 100% CPU load when downloading anything
Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
Re: 100% CPU load when downloading anything
Please be exact: what are the resources provisioned to that VM?kozunak wrote:Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
Re: 100% CPU load when downloading anything
CPU:sander wrote:Please be exact: what are the resources provisioned to that VM?kozunak wrote:Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
- 1 virtual socket
- 6 cores per virtual socket
RAM: 6GB
HDD:
- OS and applications Installed and running on SSD
- Media stores (TV, Movies, etc) are stored on NFS
- NFS shares are on FreeNAS 9.3 that is presenting the storage as ISCSI to ESXi. The disks are spindle type running in RAID5
Re: 100% CPU load when downloading anything
Well, with high spec hardware you describe (pystone above 200000, RAM 6GB) I can't imagine you get 100% CPU due to SABnzbd downloading.
Re: 100% CPU load when downloading anything
I would agree with you but I can replicate the issue 100 times a day
Here is a screen shot of PRTG polling the CPU usage. You can see each core spiking to 100%

Also, I am getting the following:
Error when trying to navigate to the GUI while Sabnzbd is downloading and CPU at 100%
Unrecoverable error in the server.
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp
s, h, b = self.get_response()
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response
response = self.request.run(meth, path, qs, rproto, headers, rfile)
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run
raise cherrypy.TimeoutError()
TimeoutError
Errors from the log:
2015-03-02 14:00:32,410 ERROR: [02/Mar/2015:14:00:32] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,735 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,735 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,730 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError


Also, I am getting the following:
Error when trying to navigate to the GUI while Sabnzbd is downloading and CPU at 100%
Unrecoverable error in the server.
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp
s, h, b = self.get_response()
File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response
response = self.request.run(meth, path, qs, rproto, headers, rfile)
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run
raise cherrypy.TimeoutError()
TimeoutError
Errors from the log:
2015-03-02 14:00:32,410 ERROR: [02/Mar/2015:14:00:32] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,735 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,735 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
2015-03-02 13:54:26,730 ERROR: [02/Mar/2015:13:54:26] Traceback (most recent call last): File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 79, in setapp s, h, b = self.get_response() File "/usr/share/sabnzbdplus/cherrypy/_cpwsgi.py", line 219, in get_response response = self.request.run(meth, path, qs, rproto, headers, rfile) File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
Re: 100% CPU load when downloading anything
Did you search
on this forum? Including the possible causes, like a HUGE queue.File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError