Page 1 of 2
0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 7:46 am
by krap82
I have been running 0.7.4 for a week now. Sabnzbd Process CPU load was at ca.170% almost continuously. I had to go back to 0.7.3 Now CPU load is normal again. (0-37%)
Details: After a fresh Sabnzbd start, Process CPU load starts low. But after the first download is started, Sabnzbd Process CPU load climbs to 160-180% and remains there. Even after finishing all downloads, Sabnzbd Process CPU load remains at ca.170% until I restart.
Before I went back, I tried:
- Sabnzbd restarts
- System restart
- Deactivate Sabnzbd Menu
- Change Skin
Any ideas?
Software:
Version: 0.7.4
OS: OSX 10.8.2 Mountain Lion
Install-type: OSx .app
Skin:Plush Gold, Smpl
Firewall Software: None on Mac, Fritz Router Firewall
Are you using IPV6? most likely no
Is the issue reproducible? yes
SickBeard and Coutchpatato also running
Hardware:
50Mbit DSL Connection
HDD:SAMSUNG SSD 830 Series Media
Modellname: Mac mini Intel Core i5 2,3 GHz
Memory: 8 GB
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 9:47 am
by shypike
The problem isn't reproducible for me.
One thing you can try is installing the "Lion" build of version 0.7.4.
Since 0.7.4 we have a specific build for MountainLion. The Lion build will work, but will miss some features.
I'm interested to see if it solves your CPU load issue.
Other than that it's very strange that SABnzbd can reach 170% CPU load, because it's a strictly single-core program.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 10:40 am
by krap82
Ok. Interesting.
I will try 0.7.4.Lion over the weekend.
Here is a screenshot with 0.7.4.ML running at 160%.

Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 10:55 am
by sander
50 threads?!
Can you see what kind of threads?
My guess: a thread per simultaneous connection. So do you have 50 connections defined? Can you lower it to 20 and what happens.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 11:35 am
by krap82
I am just trying 0.7.4. Lion but with similar results. CPU Load 160% with 39 Threads. Even when Sabnzbd is paused.
I checked, I have 25 connections defined. That is what my usenetxl.nl account is supposed to offer. Now I lowered to 15 connections. No change in CPU load. Then restarted, and now I am at 25% CPU load, while downloading. Seems to work. Then I paused Sabnzbd and CPU went up to 108%. After resume I am still at 108%.
And now I am at ca. 140%.
- "Can you see what kind of threads?"
How do I do that?
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 11:59 am
by sander
krap82 wrote:
- "Can you see what kind of threads?"
How do I do that?
On my Ubuntu Linux, I use 'htop', and then press F5 for tree view. Maybe it's available on OSX too?
Interesting: with my SABnzbd downloading nothing, htop shows 20 SABnzbd processes / threads ...

Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 2nd, 2012, 1:08 pm
by shypike
Keep the lower connections count and do a "Queue Repair" from the Status page.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 5:10 am
by krap82
shypike wrote:Keep the lower connections count and do a "Queue Repair" from the Status page.
Does not seem to make a difference. Still at 160% CPU load.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 5:14 am
by krap82
sander wrote:krap82 wrote:
- "Can you see what kind of threads?"
How do I do that?
On my Ubuntu Linux, I use 'htop', and then press F5 for tree view. Maybe it's available on OSX too?
Interesting: with my SABnzbd downloading nothing, htop shows 20 SABnzbd processes / threads ...

I had no time to look into htop so far.Maybe end of the week.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 6:28 am
by krap82
CPU load problem persists in 0.7.5.
Screenshot: Even with Sabnzbd not downloading anything, the sabnzbd process is at 146% CPU.
https://www.evernote.com/shard/s250/sh/ ... 66e98e9f3c
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 11:09 am
by shypike
I didn't expect that 0.7.5 would solve anything, because I have no clue what causes this.
One more test.
Disable the top bar menu entry in Config->Special items osx_menu and osx_speed.
Then restart.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 1:36 pm
by krap82
shypike wrote:I didn't expect that 0.7.5 would solve anything, because I have no clue what causes this.
One more test.
Disable the top bar menu entry in Config->Special items osx_menu and osx_speed.
Then restart.
Already tried this without success.
Sabnzbd showed a warning today:
2012-11-05 18:11:22,435 FEHLER: Fehler beim Laden von /Users/johannahlers/Library/Application Support/SABnzbd/admin/future/SABnzbd_attrib
(Transl: Error while loading....)
Does that help?
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 5th, 2012, 2:46 pm
by shypike
Sigh.
I don't think the error is related, possible the result of a graceless abort.
As a last resort, can you try the SnowLeopard build of 0.7.5
It should work, but lacks some features (top menu icon, Notifications to NC, standby-prevention).
Desperate attempt:
Stop SABnzbd move all files out of /Users/johannahlers/Library/Application Support/SABnzbd/admin
Remove all jobs from the "temporary download folder".
Start.
Re: 0.7.4 CPU Load Extreme on OSX 10.8.2
Posted: November 8th, 2012, 5:33 pm
by shypike
Good news, I'm on track of this problem.
Under some circumstances the task that assembles articles into files
can be prevented from running, because the downloader/decoder is too busy.
The result is an ever increasing article cache, which results in excessive memory usage
and overall slowness because all tasks need to look up things in a huge article pool.
So far I have managed to prevent the choking and I'll add that to the coming 0.7.6 Beta.
There's some more rework needed to prevent related issues.
In short, none of the other suggestions I made will solve the problem.
The 0.7.6 Beta will be needed for that. With a bit of luck, before or in the weekend.
Re: 0.7.6 CPU Load Extreme on OSX 10.8.2
Posted: December 1st, 2012, 6:54 am
by ApexDE
I have exactly the same problem as the OP with 0.7.6. When SabNZB is started, CPU Usage is normal. After a download CPU Usage freaks out, about 160-180%. I am using ML 10.8.2
When i quit and start SabNZB again, CPU Usage is normal until i finished a download.
EDIT: Sabnzb runs normal, when using the Lion Build on ML.