Page 1 of 1

Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 16th, 2023, 10:17 am
by cobhc
Hello,

When throttling, the reported speed bounces between way above my actual connection speed and then back down to the throttled speed and keeps repeating. My router however shows that the server is still pulling 100% of the connection speed.

I'm running through docker on Unraid using linuxserver's Repository.

I'm not sure what version this started on, but it's a recent issue. Any ideas?

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 16th, 2023, 12:34 pm
by sander
With 4.0.0Alpha3, I tried and cannot reproduce.

So maybe post a screenshot of your bumping speed, including the dropdown with your bandwidth percentage setting.

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 16th, 2023, 1:23 pm
by cobhc
I will when I'm no longer a new user, since I can't post links. Thank you.

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 16th, 2023, 1:35 pm
by cobhc
https://imgur.com/a/kRiJhXd

11.4 MB/s is definitely higher than my connection speed.

Reverting to 3.7.2 and all is fine.

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 16th, 2023, 2:01 pm
by sander
That is an impressive sawtooth indeed!

Are you able to test with Alpha 1 en Alpha 2?

Probably better to report it as an issue on https://github.com/sabnzbd/sabnzbd/issues ... because there were big developments with SAB 4.0.0 download mechanism, and the responsible developers are there on github.

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 17th, 2023, 4:49 am
by sander
On my setup: I set the limit to 1% of 100MB/s, so 1 MB/s, and SAB 4.0.0 (beta1) behaves quite nicely:

https://pasteboard.co/nMndZeOUP96l.png

NB: this is with the 100 MB test download. So that there is no DMCA nor newsserver switching involved.

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 17th, 2023, 8:30 am
by Puzzled
Try setting Config/Special/receive_threads = 1 (requires restart). How many connections are you using?

Re: Sabnzbd 4.00 Alpha 3 Throttling Issues

Posted: March 20th, 2023, 10:41 am
by logicail
Probably worth adding to GitHub, I had noticed it previously and figured it could be something to do with reading >16KB per connection.

For example when previously we might have 10 connections available to read = 10*16KB = 160 KB the unlocked SSL changes mean we might read much more before sleeping until we get back to the limit.

edit: biggest change since 3.7.2 I think is we only check speed and sleep once per cycle rather than after each read