Downloads Randomly Slow Down to 0%

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.
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Downloads Randomly Slow Down to 0%

Post by bunglem »

Hello I'm using sabnzbd on qnap and I'm not sure why but the downloads slow down to 0 randomly.

It only starts again when I restart the application on my server.

Any advice appreciated.
sirupflex
Newbie
Newbie
Posts: 12
Joined: May 20th, 2016, 10:05 am

Re: Downloads Randomly Slow Down to 0%

Post by sirupflex »

Hi all, I have exactly the same problem. Often it happens once the download is basically finished and post-processing should start. Sometimes, after post-processing the new next item in the download queue does not start. And sometimes a single download just randomly slows down to 0mbps and does not continue downloading.

In all cases, a restart of the server application resolves it ... until the next time. This happens with about every 2nd or 3rd download.

I'm running sabnzbd on my QNAP NAS (TS-251+, V4.2). Was running 0.7.20 for a long time on this without any issues. This morning I upgraded to 1.0.2 and now I'm having this issue. Everything else seems to work perfectly fine and for the downloads that do not stop randomly, they are completed correctly and as expected. Also, unexpectedly stopped downloads finish fine after the restart of sabnzbd on the NAS.

Any help would be much appreciated.
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Downloads Randomly Slow Down to 0%

Post by sander »

At 99% / 100% ? If so, join this thread: https://forums.sabnzbd.org/viewtopic.php?f=3&t=20556
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Downloads Randomly Slow Down to 0%

Post by safihre »

Could you set logging to Debug, wait for the stalling/stopping to happen and then get the log before restarting?
Send it to [email protected]! Hopefully we can see why it would do this..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Downloads Randomly Slow Down to 0%

Post by safihre »

Also, how did you update to 1.0.2? Is the package updated?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

I'm currently running version 150424 and the downloads stop at any progress, 22%, 50% etc etc.

It also seems to stop at random times, 10 minutes or sometimes 1 hour.

Unfortunately there seems to be no pattern in this behaviour :(
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

safihre wrote:Could you set logging to Debug, wait for the stalling/stopping to happen and then get the log before restarting?
Send it to [email protected]! Hopefully we can see why it would do this..
Will do.
sirupflex
Newbie
Newbie
Posts: 12
Joined: May 20th, 2016, 10:05 am

Re: Downloads Randomly Slow Down to 0%

Post by sirupflex »

Thanks for the quick replies. No it's not only at 99%/100%, it can be in the middle of a download basically at any time of the download (at 12% or 36%, etc.).

The QNAP package is the "sabnzb wrapper", a piece of software that downloads the latest stable version from git. I upgraded this wrapper package from the 2014 version to the "150424" (which is actually from 24 Apr 2016), then let the wrapper download and install the sabnzbd version 1.0.2.

I'll also try to create the logs for you. Thanks.

Edit: FYI - I have 4 different usenet servers configured (Priority 0-3). Generally, each server seems to work fine as before
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

This issues is more peculiar than an ashtray on a motorbike :)
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

Hey if you can't see anything on the logs just let me know how to cron the restart of the app every 5 minutes. I personally hate workarounds but I need to have some faith that I can get my downloads at some point.

However I have the utmost faith in the lovely safihre who's taken the time to help the "basic" users like myself :) "beatus homo qui invenit sapentiam"
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: Downloads Randomly Slow Down to 0%

Post by sander »

If SABnzbd starts downloading again after a "Pause .... Unpause" sequence (try for yourself), you could consider this download:


$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok

Or this sequence:

$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok

$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

sander wrote:If SABnzbd starts downloading again after a "Pause .... Unpause" sequence (try for yourself), you could consider this download:


$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok

Or this sequence:

$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok

$ curl 'http://localhost:8080/sabnzbd/api?mode= ... 319ab6eaca'
ok
So what is end result that I should be expecting.
bunglem
Newbie
Newbie
Posts: 16
Joined: May 19th, 2016, 7:18 am

Re: Downloads Randomly Slow Down to 0%

Post by bunglem »

Also I would like to point out that pausing and unpausing has no effect what so ever on the idle downloads.

The only way to restart the download activity is to restart the entire application.
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Downloads Randomly Slow Down to 0%

Post by safihre »

Aaah it pulls from Git!
That explains, I just today found a bug in the implementation of a new feature that causes this slowdown and your logs seem to point that this is the problem!

To verify: what is your Article Cache setting? And when it stalls, what does it say in the Status window how much cache is used?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Downloads Randomly Slow Down to 0%

Post by safihre »

I made the fix in a pull request. Will your package download the new git release automatically or you have to force it?
It's not merged yet, so nothing to update. But for reference.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply