100% CPU load when downloading anything

Get help with all aspects of 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.
WeirDave
Newbie
Newbie
Posts: 3
Joined: December 11th, 2014, 1:22 pm

100% CPU load when downloading anything

Post by WeirDave »

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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 100% CPU load when downloading anything

Post by shypike »

What kind of hardware and OS?
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

shypike wrote:What kind of hardware and OS?
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.

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!
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

WeirDave 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
WeirDave, were you able to resolve this? I am having same/similar issue :(
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

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?
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

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?
Here is the info requested:

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
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

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%?
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

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...
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

scale back to what?
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

kozunak wrote:Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
Please be exact: what are the resources provisioned to that VM?
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

sander wrote:
kozunak wrote:Scale back the resources provisioned to that VM...right now it has 6GB of RAM and 6 cores for CPU.
Please be exact: what are the resources provisioned to that VM?
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
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

Well, with high spec hardware you describe (pystone above 200000, RAM 6GB) I can't imagine you get 100% CPU due to SABnzbd downloading.
kozunak
Newbie
Newbie
Posts: 9
Joined: March 2nd, 2015, 3:11 am

Re: 100% CPU load when downloading anything

Post by kozunak »

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%
Image
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
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: 100% CPU load when downloading anything

Post by sander »

Did you search
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 579, in run raise cherrypy.TimeoutError() TimeoutError
on this forum? Including the possible causes, like a HUGE queue.
Post Reply