Page 1 of 1

"Cancelling hanging download" after a few seconds

Posted: 25 Mar 2019, 14:59
by mietz
Hi folks,

I have a weird issue with my nzbget on a raspberry pi 3. After a few seconds of downloading a file the download rate drops to 0 and the log starts spamming hundreds of "Cancelling hanging download..." errors.

I have to restart NZBGet to make it work again, but after a few seconds it starts again.

I already deactivated VPN, changed the usenet provider from Newshosting to newsdemon to make sure that this isn't a problem (also there was a pretty sweet offer :D ).

I also updated NZBGet to the latest version.

Does anyone have an idea?

Re: "Cancelling hanging download" after a few seconds

Posted: 25 Mar 2019, 15:49
by hugbug
Don't you write into an sd-card or usb-flash by any chance? They usually have very bad controllers not working good in multi thread mode.

Also check the full log, there could be errors before cancelling.

Re: "Cancelling hanging download" after a few seconds

Posted: 25 Mar 2019, 16:19
by mietz
I write to a mounted NVIDIA SHIELD external USB disk. Do you think that can be the problem?

I checked the log and there was no errors before cancelling.

Re: "Cancelling hanging download" after a few seconds

Posted: 25 Mar 2019, 18:17
by hugbug
Conventional HDD or SSD shouldn't be a problem.

Check option ArticleTimeout, default 60 should be OK, maybe you lowered it way too much.
Please enable all logging options (DetailTarget, etc.) and post your log (via pastebin).

Re: "Cancelling hanging download" after a few seconds

Posted: 25 Mar 2019, 21:29
by mietz
I finally figured it out. I changed my set up a little. I connected my HDD to a fritzbox NAS and changed my mounting accordingly. Now the connection is super fast and I got rid of the errors.

There seems to be a problem with the NZBget -> SHIELD combination.

Thanks for your help

Re: "Cancelling hanging download" after a few seconds

Posted: 26 Mar 2019, 07:05
by mietz
And the error is back again :roll:

It doesn't happen as often as before, but it's still annoying.

Here's the log:

https://pastebin.com/qC5adszk

FYI: I disabled direct write to make it work with the NAS. Could this cause the problem?

- Article Cache 200 Mb
- ArticleTimeout is 60 seconds

Re: "Cancelling hanging download" after a few seconds

Posted: 26 Mar 2019, 08:44
by hugbug
So your QueueDir, TempDir and InterDir are not on a local disk? That might be the cause of the problem.

Re: "Cancelling hanging download" after a few seconds

Posted: 27 Mar 2019, 09:07
by mietz
That's possible.

I think I try to move all folders to an external SSD and when a file is completed it moves it to the NAS.

Thanks for your help :)