Page 1 of 2

Sabnzbd freezes on windows

Posted: May 19th, 2022, 8:46 am
by BiggyB
Running Sabnzbd on a windows server.

Since a couple of days (max two weeks) Sabnzbd freezes and I'm unable to get it running again without fully rebooting the server.
My guess is it's regarding unpacking, so I tried to disable 'direct unpack' but with no effect.
I've did a clean install two times and also tries running the RC version, both with no success.

The logs (don't know if I'm allowed to post here due to the forum rules regarding stuff I got from the usenet is mentioned in the logs) don't show any errors or warnings.

A few things which may help you to point me in the right direction for the solution:

* it seems to occur after a couple of minutes
* memory usage get's quite high, causing my server to be unresponsive when running the 'freezed Sab process'
* the process can't be killed using 'shutdown option' from tasks
* the process can't be killed using Task Manager (but it doesn't mentioned it's unresponsive)

Please let me know if I can provide more information!

Re: Sabnzbd freezes on windows

Posted: May 19th, 2022, 12:17 pm
by safihre
Just to be sure, lower the Article Cache in Config General.
You are running 3.5.3?
Can you enable Debug logging in the Status window and then after it happens again look in the logs when it started happening, maybe there's some indication what it's working on.
Could be a disk problem, have you check the disk health?

Re: Sabnzbd freezes on windows

Posted: May 20th, 2022, 1:50 am
by BiggyB
Hi Safihre,

thanks for your reply.

I lowered the cache (Was on 1GB, now on 256M)
I'm now running 3.5.3 (again), will enable debug logging and then work as normal with Sabnzbd.
Did not check Disk health yet, will do that in a minute!

edit: when starting Sabnzb to perform those actions, I got this error message: Loading \\?\C:\Users\Administrator\AppData\Local\sabnzbd\admin\postproc2.sab failed

Re: Sabnzbd freezes on windows

Posted: May 20th, 2022, 2:42 am
by BiggyB
it happened again, right away. Don't see anything special in the debug log, want me to post it here?
Also, because the freeze makes my browser freeze as well, I wasn't able to download a disk health check program. Will run that later on.

Re: Sabnzbd freezes on windows

Posted: May 20th, 2022, 2:50 am
by BiggyB
This is the traceback from the error I mentioned above:

Code: Select all

Traceback (most recent call last):
  File "sabnzbd\filesystem.py", line 1149, in load_data
AttributeError: Can't get attribute 'FilePar2Info' on <module 'sabnzbd.par2file' from 'C:\\Users\\Administrator\\Downloads\\SABnzbd-3.5.3-win64-bin\\SABnzbd-3.5.3\\sabnzbd\\par2file.pyc'>

Re: Sabnzbd freezes on windows

Posted: May 20th, 2022, 7:18 am
by BiggyB
Did some error checks with HD Tune Pro, but all the disks come out clean.

Re: Sabnzbd freezes on windows

Posted: May 20th, 2022, 11:41 am
by safihre
Yeah this is because you tried to open a queue from 3.6.0 on 3.5.3.

Re: Sabnzbd freezes on windows

Posted: May 21st, 2022, 1:18 pm
by BiggyB
Should I empty my queue? Or can I try some other things perhaps?

Re: Sabnzbd freezes on windows

Posted: May 22nd, 2022, 4:28 am
by safihre
Yes you'll need to do a Queue Repair, then you can recover the jobs that were in the queue.

Re: Sabnzbd freezes on windows

Posted: May 23rd, 2022, 2:59 am
by BiggyB
Because I don't need my queue I decided to do a full, clean, install again. Removing 3.5.3 and 3.6.0, rebooting and installing 3.5.3. again.
But unfortunately, after downloading the first newly added episode, Sabnzbd freezes up while unpacking. I 'm not quite sure what other options there are, do you have any ideas what I can do to determine the issue?

Re: Sabnzbd freezes on windows

Posted: May 23rd, 2022, 6:58 am
by safihre
Is the unpack to the local file system?
It sounds like it's stuck on an IO block from the drive.

Re: Sabnzbd freezes on windows

Posted: May 23rd, 2022, 8:21 am
by BiggyB
It' s all running on my server, but the folders for import/incomplete/complete downloads are on a different drive (D:) then where it's running (C:).
This isn't something that has changed, this was always my setup.
I did all the test I could do within HD Tune (without erasing the data) but I see no difference in results when looking at my other HDD (E:).
(C: drive is a SSD).
Do you happen to know any other tests I can run to exclude HDD failure?

Re: Sabnzbd freezes on windows

Posted: May 24th, 2022, 11:04 am
by safihre
Not sure.. At this point I would maybe suggest to try NZbget and see if it also freezes.
Or try it on the C drive.
If nzbget or another drive work, we can know for sure it's the drive that's the problem.
Maybe you can also try without virusscanner?

Re: Sabnzbd freezes on windows

Posted: May 31st, 2022, 8:13 am
by BiggyB
It seems to occur with NZBget as well, so I'll have to dive deeper into the Harddisk issues...
Thanks a lot for the help !

Re: Sabnzbd freezes on windows

Posted: June 24th, 2022, 3:26 am
by BiggyB
It looks like the raid controller on the service was the one causing issues. I can confirm that SabNZB wasn't the one causing the issues, but thank you for your support safihre!