I've recently installed sabnzbd latest (0.7.16) on my OUYA.
I manually installed SABnzbd and yenc, and installed the rest of the dependencies with opt-ware.
It starts and runs, and will pull quite an impressive download rate (seen it as high as 4.2 MB/s)
In the startup logs everything looks good, unrar, unzip etc are all found.
The problems I'm having are twofold:
1. unless I'm very careful with thread settings it will hard freeze the OUYA. Setting it to 8 threads seems to be ok, although when it starts to pull from the fill servers total thread numbers can be quite a bit higher. In there any form of global limit?
2. SAB is not unraring, I see (Skipping unrar file check due to unreliable file names or old unrar) in the logs. I'm using unrar V4.2.4-1, this appears to be the same issue hitting synology users.
problems with sabnzbd under android
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: problems with sabnzbd under android
Unrar 4.2 should be ok, but if it isn't, there's not much we can do.
You can enabke debug logging an in the log look at how unrar is started
and what the actual output of unrar is.
You can enabke debug logging an in the log look at how unrar is started
and what the actual output of unrar is.
Re: problems with sabnzbd under android
Sorry to double post
Unrar it's self works fine, at least it does when i manually run it. I'll enable debug and give that a shot when next i download, unless there is a way to have it reprocess the stuff waiting to get extracted.
Unrar it's self works fine, at least it does when i manually run it. I'll enable debug and give that a shot when next i download, unless there is a way to have it reprocess the stuff waiting to get extracted.
Re: problems with sabnzbd under android
I'm dumb you can just move it back to the incomplete dir and readd it to the queue
Here is the relevant debug output.
2013-10-18 22:09:56,955::DEBUG::[newsunpack:568] Running unrar ['/system/xbin/nice', '-n10', '/system/bin/ionice', '-c2', '-n4.', '/opt/bin/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.subs.rar', '/system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/']
2013-10-18 22:09:56,971::INFO::[newsunpack:714] Skipping unrar file check due to unreliable file names or old unrar
2013-10-18 22:09:56,973::INFO::[newsunpack:719] Unpacked 0 files/folders in 0 seconds
2013-10-18 22:09:56,974::DEBUG::[newsunpack:441] rar_unpack(): Rars: []
2013-10-18 22:09:56,975::DEBUG::[newsunpack:442] rar_unpack(): Newfiles: []
Here is the relevant debug output.
2013-10-18 22:09:56,955::DEBUG::[newsunpack:568] Running unrar ['/system/xbin/nice', '-n10', '/system/bin/ionice', '-c2', '-n4.', '/opt/bin/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.subs.rar', '/system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/']
2013-10-18 22:09:56,971::INFO::[newsunpack:714] Skipping unrar file check due to unreliable file names or old unrar
2013-10-18 22:09:56,973::INFO::[newsunpack:719] Unpacked 0 files/folders in 0 seconds
2013-10-18 22:09:56,974::DEBUG::[newsunpack:441] rar_unpack(): Rars: []
2013-10-18 22:09:56,975::DEBUG::[newsunpack:442] rar_unpack(): Newfiles: []
Re: problems with sabnzbd under android
i ran the unrar line in the terminal and got
-sh: /system/xbin/nice, -n10, /system/bin/ionice, -c2, -n4., /opt/bin/unrar, x, -idp, -o-, -or, -p-, /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.subs.rar, /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/: not found
Also, just thinking but i could probably stop sabnzbd from freezing the ouya by adding a nice to the init script. This has also got me curious about what kind of scheduler the kernel is using, i've never seen a nix system freeze under load like this, i'll have to ask the rom maintainer what he used. I've been watching performace graphs and it seems the I/O is red lining more then the cpu
Definatly something amiss with the format of the command, i ran it "clean" and it worked fine
/opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
-sh: /system/xbin/nice, -n10, /system/bin/ionice, -c2, -n4., /opt/bin/unrar, x, -idp, -o-, -or, -p-, /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.subs.rar, /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/: not found
Also, just thinking but i could probably stop sabnzbd from freezing the ouya by adding a nice to the init script. This has also got me curious about what kind of scheduler the kernel is using, i've never seen a nix system freeze under load like this, i'll have to ask the rom maintainer what he used. I've been watching performace graphs and it seems the I/O is red lining more then the cpu
Definatly something amiss with the format of the command, i ran it "clean" and it worked fine
/opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
Re: problems with sabnzbd under android
SABnzbd doesn't actually send the commas and the quotation marks,
that's just the logging format.
However, it does add nice and ionice.
I don't see you using those.
that's just the logging format.
However, it does add nice and ionice.
I don't see you using those.
Re: problems with sabnzbd under android
Hmm
If i do
/system/xbin/nice -n10 /system/bin/ionice -c2 -n4 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
i get
usage: ionice <pid> [none|rt|be|idle] [prio]
/system/xbin/nice -n10 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
works fine
/system/bin/ionice -c2 -n4 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
also returns
usage: ionice <pid> [none|rt|be|idle] [prio]
If i do
/system/xbin/nice -n10 /system/bin/ionice -c2 -n4 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
i get
usage: ionice <pid> [none|rt|be|idle] [prio]
/system/xbin/nice -n10 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
works fine
/system/bin/ionice -c2 -n4 /opt/bin/unrar x -idp -o- -or -p- /system/media/downloads/downloads/incomplete/Hannibal.S01E02.720p.BluRay.x264-DEMAND/hannibal.s01e02.720p.bluray.x264-demand.rar /system/media/downloads/downloads/complete/_UNPACK_Hannibal.S01E02.720p.BluRay.x264-DEMAND/
also returns
usage: ionice <pid> [none|rt|be|idle] [prio]
Re: problems with sabnzbd under android
Ok I found the problem, my error.
i had -c2 -n4. in the config not -c2 -n4 (there was a spurious .)
It's working now Thank you.
Hey,
Could you give me a hand getting an init script togeather that nice/ionice's sabnzbd? Nice is straight forward, I'm not quite sure ionices format.
Currenltly I've just got
If I could get both processes lower priority then android that would be ideal.
i had -c2 -n4. in the config not -c2 -n4 (there was a spurious .)
It's working now Thank you.
Hey,
Could you give me a hand getting an init script togeather that nice/ionice's sabnzbd? Nice is straight forward, I'm not quite sure ionices format.
Currenltly I've just got
Code: Select all
# cat /etc/init.d/S90piracy
export PATH=/opt/bin:/system/bin:/system/xbin
python2.6 /opt/sabnzbd/SABnzbd.py -f /opt/sabnzbd/sabnzbd.ini -d
python2.6 /opt/sickbeard/SickBeard.py -d