Sab on the Raspberry Pi?

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
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.
Post Reply
kl1k
Release Testers
Release Testers
Posts: 30
Joined: November 1st, 2009, 3:21 pm

Sab on the Raspberry Pi?

Post by kl1k »

I've followed a few docs and got SAB to install and tron on my pi. Everything seems to run ok but now I'm finding problems with the pi connecting to my news server. From the server config the test fails. I can ping the server and the credentials are correct.

2012-09-08 01:21:18,067::INFO::[downloader:375] [email protected]:119: Initiating connection
2012-09-08 01:21:18,067::INFO::[downloader:375] [email protected]:119: Initiating connection
2012-09-08 01:22:18,122::INFO::[newswrapper:223] Failed to connect: (110, 'timed out') [email protected]:119
2012-09-08 01:22:18,122::INFO::[newswrapper:223] Failed to connect: (110, 'timed out') [email protected]:119
I've seen it connect a few times but mostly it can't connect or is slow. Its working fine from another server.

Is this a limitation of the pi - has anyone managed to get it working with decent download speeds?
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Sab on the Raspberry Pi?

Post by sander »

I have SAB running on my Raspi: SAB downloads at 30 kBps, and/but also get the timed-out-errors.

With its 256MB RAM and it's 700 Mhz ARM CPU, the Raspi is too low-specced for useful, reliable usage.

You could try NZBget or NNTPgrab on your Raspi; they need less resources.

Code: Select all

2012-09-08 05:57:21,367::INFO::[downloader:640] Thread [email protected]:119: timed out
2012-09-08 05:57:46,702::INFO::[downloader:640] Thread [email protected]:119: timed out
2012-09-08 05:57:51,472::INFO::[downloader:375] [email protected]:119: Initiating connection
2012-09-08 05:58:04,240::INFO::[downloader:566] Connecting [email protected]:119 finished
2012-09-08 05:58:16,755::INFO::[downloader:375] [email protected]:119: Initiating connection
2012-09-08 05:58:18,348::INFO::[downloader:566] Connecting [email protected]:119 finished
kl1k
Release Testers
Release Testers
Posts: 30
Joined: November 1st, 2009, 3:21 pm

Re: Sab on the Raspberry Pi?

Post by kl1k »

Thanks for the info

Ok - problem sorted.

I think there was 2 issues.
1) I had some weird permissions on the incomplete folder - I fixed them up and it seemed to help.
2) The biggest problem is using a low quality microusb cable. This caused the voltage to be about 4.2V which caused the network to keep dropping. I changed it out to decent cable and now get 4.9V - no more network drops and it runs at full speed. (With SickBeard running in memory as well)
bigdavethehorn
Newbie
Newbie
Posts: 23
Joined: March 11th, 2011, 2:08 pm

Re: Sab on the Raspberry Pi?

Post by bigdavethehorn »

Any tips on stabilising SAB on the Pi? I have successfully downloaded a 123MB file and a 2GB file, however anything larger seems to crash the Pi.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Sab on the Raspberry Pi?

Post by sander »

bigdavethehorn wrote:Any tips on stabilising SAB on the Pi? I have successfully downloaded a 123MB file and a 2GB file, however anything larger seems to crash the Pi.
What kind of crash? What's the verbose output of SAB?

And: what does your "free -m" show during the download?
bigdavethehorn
Newbie
Newbie
Posts: 23
Joined: March 11th, 2011, 2:08 pm

Re: Sab on the Raspberry Pi?

Post by bigdavethehorn »

I'm not sure what kind of crash unfortunately, I run SAB on a schedule from midnight until 08:00. When I attempt to view the queue in the morning, I can't access SAB remotely (via http), or the Pi direct via VNC, SSH or keyboard.

The solution appears to be switch it off and on :(

I'm running Debian Wheezy and SAB, that's about it. I haven't yet adjusted the "8192 kbytes" setting in Wheezy, is it worth a shot?
bigdavethehorn
Newbie
Newbie
Posts: 23
Joined: March 11th, 2011, 2:08 pm

Re: Sab on the Raspberry Pi?

Post by bigdavethehorn »

Ok, I increased the vmin setting from 8192 to 16384 and added smsc95xx.turbo_mode=N in /boot/cmdline.txt

I think it worked, maybe to early to tell just yet, but I managed a couple of large downloads (3GB & 10GB) and the Pi was still responsive in the morning.
Post Reply