Page 1 of 1

jobs freezing at unrar

Posted: May 26th, 2008, 1:32 am
by iAmNotorious
I'm currently running 0.4.0Beta5 in Ubuntu, but I am having problems with large (8+ gigs) jobs unraring. In the history the job shows that the par2 repair completes, the status says "extracting", but there is nothing below the Par2 stage stating anything about unraring. If I run 'ps aux | grep unrar' I do find an active unrar process that has been launched, but is doing nothing. If I kill the process SABnzbd reruns the process and will complete successfully. Any ideas what is going on?

Re: jobs freezing at unrar

Posted: May 26th, 2008, 1:52 am
by shypike
I have not seen this problem on my own Linux box.
Could be that unrar crashes or is not compatible.

Which OS and exactly which unrar do you use?

I have heard complaints from people about unrar 3.71 and that these were
solved when downgrading to 3.51.
See: http://forums.sabnzbd.org/index.php?topic=578.0

Re: jobs freezing at unrar

Posted: May 26th, 2008, 8:42 pm
by iAmNotorious
Well on that advice I attempted to roll back to 3.51 to no success. I did notice that the unrar process that is running when it stalls is 'unrar vb -v' which seems to list all of the files included in each rar.

update: i cleared the cache out and restarted sabnzbd and it seems to be fixed. strange.

Re: jobs freezing at unrar

Posted: May 27th, 2008, 1:42 am
by shypike
Occasionally we get reports from people with a corrupt cache.
So far we have never been able to identify the true cause.
At least your problem is solved.

You did not have a crashing SABnzbd?
You always terminate SABnzbd in the polite way (shutdown command)?
If you start SABnzbd from a terminal window and you exit the terminal,
SABnzbd will be forcefully stopped, that may lead to cache corruption.
Preferably start SABnzbd with the "-d" parameter (daemon mode).
Also, "kill -9" is not a good idea.

Re: jobs freezing at unrar

Posted: May 30th, 2008, 12:04 am
by iAmNotorious
Well the problem is back. I was trying small jobs (30mb to 1gb). I have sabnzbd set up to run on startup through init scripts, and I've always shutdown politely. It seems to be only on big jobs that sab is freezing. And its not just taking a lot of time. I have a dual core 2 - 2.6 ghz and i've let it sit for hours to unrar a 4gig file. The second I kill that frozen unrar process it unrars in minutes.

Re: jobs freezing at unrar

Posted: May 30th, 2008, 2:10 am
by shypike
Like I said earlier, I do all my downloads on an old Pentium-III Ubuntu server box.
Never a problem.
But I don't recall downloading anything bigger than a DVD9 size.
I'll try a really big job.
The suspect is still the unrar program.
Once unrar runs, SABnzbd doesn't really do very much, except wait for some
text output from the running unrar program.
Have you tried to run unrar standalone on such a "failed" job?