Must say this is an awesome program and many thanks. I have only one slight annoyance though, every time it's done a unrar unpack it leaves a "unrar " process for every use so depending on how many files it's unpacked it'll leave that many. I can't kill the processes, even with a -9 won't do it, only if i shutdown sabnzbd will it take them down with it, restarting sabnzbd won't kill though. Any ideas what could be causing this?
Regards.
System details:
Version: 0.5.2
Python: v2.6
unrar: v3.91
OS: Gentoo kernel 2.6.30
Install type: Python source
Skin: Plush
Firewall software: my own bash script
ipv4
unrar
Forum rules
Help us help you:
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.
Re: unrar
I've done a bit of testing and it's seems to be doing it everytime i start or restart sabnzbd. For example i'll start sabnzbd and there'll be one unrar in the process list, then if i restart sabnzbd from within the web gui it'll put another unrar in, they're zombied processes and even a kill -9 won't rid them, i need to shutdown and startup sabn again? very strange but the program is fine it's just annoying. I also use nzbgetweb with unrar and it's fine so i'm not sure what's going on.shypike wrote: Sounds very much like a problem in unrar itself.
Have you tried older versions?
Re: unrar
No problem on Ubuntu 9.10.
Maybe you could try an experiment.
Find module newsunpack.py.
At about line 114, you'll find:
Change this to:
Please report if this solves the problem.
It's not a proper solution yet, but it might narrow down the search.
Maybe you could try an experiment.
Find module newsunpack.py.
At about line 114, you'll find:
Code: Select all
if not (sabnzbd.WIN32 or sabnzbd.DARWIN):
sabnzbd.newsunpack.RAR_PROBLEM = not unrar_check(sabnzbd.newsunpack.RAR_COMMAND)
Code: Select all
#if not (sabnzbd.WIN32 or sabnzbd.DARWIN):
#sabnzbd.newsunpack.RAR_PROBLEM = not unrar_check(sabnzbd.newsunpack.RAR_COMMAND)
It's not a proper solution yet, but it might narrow down the search.
Re: unrar
I commented out the unrar check and it's fixed the problem Also noticed that it'll will accept the rar command as well which maybe better as i may need to pack stuff up with rar sometimes. sabnzbd is always running on my server 24/7 anyway, i restarted it yesterday and got the usual problem of unrar defunct and today i check my processes and the zombied unrar was gone, do zombie processes have a timeout on closing because i couldn't kill it myself? But anyway your solution has done the trick, i may try uninstalling unrar and try with rar.
Cheers for a great program anyway it does just what i want for episode downloading and sorting.
Many thanks.
Ian.
Cheers for a great program anyway it does just what i want for episode downloading and sorting.
Many thanks.
Ian.