× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

sabnzbd causes high system load

twc
Aspirant
Aspirant

sabnzbd causes high system load

Hi all,

 

Is it normal that sabnzbd drives the sysload up to 143? (as reported in the top right corner of the web interface) 

 

I see three recently finished downloads (with "busy" spinners) in the History section, and one says "repairing 66%".

 

Can I tell it to behave better during this stage of the download process?

 

Thanks,

 

Tony

 

Model: RN10400|ReadyNAS 100 Series 4- Bay (Diskless)
Message 1 of 26

Accepted Solutions
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

I think the NAS runs fine until sabnzbd begins repairing one of the downloads. So, I'll switch that function off (per the last post here). And then hopefully I'll be able to see which downloads need intervention, and run those repairs manually from my Mac.

 

However, now sabnzbd isn't able to start up. Are you able to take a look please?

 

 

View solution in original post

Message 10 of 26

All Replies
StephenB
Guru

Re: sabnzbd causes high system load

You probably should also post this in the sabnzbd forum.

Message 2 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Will do thanks

Message 3 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Does TOP give any clues?

 

Tasks: 413 total,   5 running, 408 sleeping,   0 stopped,   0 zombie
%Cpu(s): 59.1 us, 28.5 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi, 12.3 si,  0.0 st
KiB Mem:    508720 total,   391488 used,   117232 free,      428 buffers
KiB Swap:  1047420 total,   326248 used,   721172 free.    21276 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                        
 2756 admin     20   0  644432  80764   3144 S 33.0 15.9 305:14.18 sabnzbd                        
 2669 root      20   0  246188  10628   1284 S 32.7  2.1   1329:56 lite_mv                        
22335 admin     20   0   22164  17852    276 R 13.5  3.5 191:38.58 par2                           
  404 root      20   0       0      0      0 S 10.7  0.0  92:22.97 kswapd0                        
 1095 root      20   0       0      0      0 S  3.9  0.0 146:20.98 md127_raid5                    
13338 tony      20   0    5784   1768   1160 R  2.5  0.3   0:00.52 top                            
10203 root      20   0       0      0      0 S  1.9  0.0   0:18.38 kworker/u2:4                   
    3 root      20   0       0      0      0 R  1.1  0.0 119:16.63 ksoftirqd/0                    
 9821 root      20   0       0      0      0 S  0.8  0.0   0:19.37 kworker/u2:0                   
  981 root       0 -20       0      0      0 S  0.3  0.0  15:20.16 kworker/0:1H                   
 2376 root      20   0   23596   1308   1112 S  0.3  0.3   2:56.19 minidlnad                      
 7837 root      39  19   10404    916    844 D  0.3  0.2   0:00.84 archive_mrg_mv                 
12502 root      20   0       0      0      0 S  0.3  0.0   0:02.41 kworker/u2:5                   
29327 root      39  19   10404    892    820 D  0.3  0.2   0:03.34 archive_mrg_mv                 
31729 root      39  19   10404   1032    960 D  0.3  0.2   0:02.94 archive_mrg_mv                 
    1 root      20   0   26648    536    292 S  0.0  0.1   0:27.05 systemd                        
    2 root      20   0       0      0      0 S  0.0  0.0   0:00.19 kthreadd                       
    5 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kworker/0:0H                   
    7 root      20   0       0      0      0 R  0.0  0.0   4:59.89 rcu_sched                      
    8 root      20   0       0      0      0 S  0.0  0.0   0:00.00 rcu_bh                         
    9 root      rt   0       0      0      0 S  0.0  0.0   0:00.00 migration/0                    
   10 root      rt   0       0      0      0 S  0.0  0.0   0:02.60 watchdog/0                     
   11 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 khelper                        
   12 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kdevtmpfs                      
   13 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 netns                          
  273 root      20   0       0      0      0 S  0.0  0.0   0:00.17 khungtaskd                     
  274 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 writeback                      
  276 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 crypto                         
  277 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 bioset 

I've also noticed about 200 processes like this:

/apps/surveillance/bin/archive_mrg_mv autobackup

 

Message 4 of 26
FramerV
NETGEAR Employee Retired

Re: sabnzbd causes high system load

Hi twc,

 

Where you able to get in touch with sabnzbd if this is normal for their app? I could have you case be checked but I need to now if the app is working as it should be.

 

 

Regards,

Message 5 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Hi Framer, this is what we're up to over on the SAB forum:

 

Repairing takes a lot of CPU power. That is what you experience. ...
Your ReadyNAS 10400 is a low-spec machine, so you'll never get the same speed as on a
PC with an Intel Core CPU. ... Your sysload values are so insanely high and your top
output does not match that, that 1) something else must be going on (like disk IO problems)
or 2) there is a bug in your OS / Python / SABnzbd reporting

Are you able to help diagnose?

 

Is he talking about par2? Is there a known issue with that perhaps, on the 10400?

 

Message 6 of 26
FramerV
NETGEAR Employee Retired

Re: sabnzbd causes high system load

Hi twc,

 

The support from SAB is actually trying to point out 3 possibilities I think.

 

1. The ReadyNAS is under powered and it taking most of its resources when a repair is happening.

2. An HDD failure.

3. A possible issue with our OS.

 

For the 2nd concern, we can check that via the system logs.

 

How do I send all logs to ReadyNAS Community moderators?

 

For the 3rd concern, updating to our latest firmware would be our way to go.

 

ReadyNAS OS 6 Software Version 6.6.1

 

Once we check these and see that everything is okay. We can say that the ReadyNAS is just that not powerful enough to handle the repair with ease.

 

 

Regards,

Message 7 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Hi Framer.

 

Sorry for the slow reply. I was waiting (in vein) for the system to come back online. In the end, I had to flick the power switch.

 

I've sent the logs so you can check if the disks are okay.

 

And I am already on 6.6.1 - but this doesn't rule out an issue with par2 or python, does it? How would we go about diagnosing such a thing? Can we compare the performance of par2 between different ReadyNAS systems maybe?

 

Thanks

 

Message 8 of 26
StephenB
Guru

Re: sabnzbd causes high system load

The load that par2 creates scales with the (number of data blocks) * (number of repair PAR blocks used).  So that would be variable.  

 

Are you seeing issues outside of sabnzbd?  Perhaps poor NAS throughput when the app is running, or problems reaching the NAS web ui?


Message 9 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

I think the NAS runs fine until sabnzbd begins repairing one of the downloads. So, I'll switch that function off (per the last post here). And then hopefully I'll be able to see which downloads need intervention, and run those repairs manually from my Mac.

 

However, now sabnzbd isn't able to start up. Are you able to take a look please?

 

 

Message 10 of 26
FramerV
NETGEAR Employee Retired

Re: sabnzbd causes high system load

Hi twc,

 

Are you on the latest firmware already? Does it have an error message?

 

Would be best to consult the app developer about it as well.

 

 

Regards,

 

Message 11 of 26
FramerV
NETGEAR Employee Retired

Re: sabnzbd causes high system load

Hi twc,

 

We’d greatly appreciate hearing your feedback letting us know if the information we provided has helped resolve your issue or if you need further assistance. 

If your issue is now resolved, we encourage you to mark the appropriate reply as the “Accept as Solution” or post what resolved it and mark it as solution so others can be confident in benefiting from the solution. 
 
The Netgear community looks forward to hearing from you and being a helpful resource in the future!
 
Regards,

Message 12 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Hi Framer,

 

Yep, im on the latest firmware. And there's no error message. It just doesn't start, when i flick the app switch to ON.

 

I've also posted in the developers forum, and hope they'll have some suggestions for me soon.

 

Thanks.

Message 13 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

i've uninstalled it, but now i cant find it in the list of apps to reinstall? can you remind me how to install it please?

Message 14 of 26
Mhynlo
Luminary

Re: sabnzbd causes high system load

Were you using the SABnzbd from the avaiable apps?

It was a little dated, but it looks like there is an updated one if you wanted to pay for it:

https://community.netgear.com/t5/Community-Add-ons/Community-apps-by-ReadyNAS-Xtras/m-p/1143903#U114...

 

I started working on an updated version of that app. I took a quick look at where I was at and might be able to get it done this week running the latest 1.2.0.

Message 15 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Hi Mhynlo. Yes I think I installed it from the "available apps" page.

 

Whats the difference between the version you pointed me at (for €2.99); and the version that you might release this week?

Message 16 of 26
Mhynlo
Luminary

Re: sabnzbd causes high system load

The app version that I pointed to is the original dev that had his app on the "available apps". He has not updated the app there and requests support through app purchase.

 

My apps that I post are open source and submitted for "available apps". I have been updating some of the apps when I get time.

Message 17 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

I'd rather get it from "available apps", so will wait for your release thank you Myynlo.

Message 18 of 26
StephenB
Guru

Re: sabnzbd causes high system load


@twc wrote:

I'd rather get it from "available apps"...


FWIW, Netgear doesn't support any third party apps - including the ones in "available apps".  So don't read too much into the available apps listing.

Message 19 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Got it, thanks for clarifying.

 

Message 20 of 26
Mhynlo
Luminary

Re: sabnzbd causes high system load

There are some things that make it easier to go the available apps like knowning what are the available ports, notifying users there are updates, and seems like there ares some testing they run before posting.

 

 

Either case; I was able to get most of SABnzbd:

https://github.com/Mhynlo/readynas-sabnzbd/releases/tag/1.2.0-0

 

I flagged it as pre-release because there are some little things I want to do for hte build process, but the app itself should all be ready and will not be touched when I submit to Netgear.

 

Please give it a try and let me know what you think.

Message 21 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Hi Mhynlo, thanks so much for this. I put the news server into the wizard, but I get the following when trying to connect to the web interface (at https://192.168.18.17/sabnzbd/😞

 

Lost connection to SABnzbd..
In case of SABnzbd restart this screen will disappear automatically!

 

Sometimes I also see this:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /sabnzbd/config/.

Reason: Error reading from remote server

 


Apache/2.2.31 (Debian) Server at 192.168.18.17 Port 443 

Should I give it more time? Maybe it's still running installation related scripts? (although it's been half an hour or so)

 

 

 

Message 22 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

It still seems to be slow and dropping the connection.

 

The previous version didn't do this (ie. the version that was visible in "available apps" before I upgraded the firmware).

 

Message 23 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

I've rebooted the NAS and SAB seems to be up and responding now. Will play around with it a bit tomorrow and see how it goes.

 

Message 24 of 26
twc
Aspirant
Aspirant

Re: sabnzbd causes high system load

Looks good, thank you so much Mhynlo.

 

 

Message 25 of 26
Top Contributors
Discussion stats
  • 25 replies
  • 5822 views
  • 0 kudos
  • 4 in conversation
Announcements