SABnzbd getting Killed [Raspi]

Get help with all aspects of SABnzbd
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
sayreg
Newbie
Newbie
Posts: 8
Joined: September 7th, 2013, 8:59 pm

SABnzbd getting Killed [Raspi]

Post by sayreg »

Hi Everyone,

I am having an issue with sabnzbd, it keeps shutting down on it's own. When I have it running in terminal via ssh all it says is "Killed" it generally seems to happen after a download starts. Also the other issue I have with it is when watching a show (720p), It stutters if a show is downloading at the same time.

My setup is this;

Raspberry Pi Model B
Sickbeard
SABnzbd
OS runs from the SD card and Everything downloading/saves/plays from an external hard drive connected by USB.

Thanks in advance.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd getting Killed [Raspi]

Post by sander »

Does it happen also when you log on to the physical system itself (so: on the keyboard connected to the Raspi)?

How much RAM: 256MB or 512MB? Check with "free -m"
sayreg
Newbie
Newbie
Posts: 8
Joined: September 7th, 2013, 8:59 pm

Re: SABnzbd getting Killed [Raspi]

Post by sayreg »

Yes it happens all the time, I even did a fresh format and clean reinstall of everything and it still does it. Like right now I start it up (sabnzbdplus --server 0.0.0.0) it makes connections to blocknews and then shuts down and says "Killed" in terminal. I start it up again and same thing.. Anyone know where I can get a working image of Raspbmc , sick beard , and sabnzbd to download? I am getting so frustrated.

Thanks
sayreg
Newbie
Newbie
Posts: 8
Joined: September 7th, 2013, 8:59 pm

Re: SABnzbd getting Killed [Raspi]

Post by sayreg »

Here's what's happening.... http://pastebin.com/VcGFw591
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd getting Killed [Raspi]

Post by sander »

Code: Select all

2013-09-11 18:24:12,482::INFO::[downloader:351] 48@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,626::INFO::[downloader:351] 49@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,806::INFO::[downloader:351] 50@usnews.blocknews.net:119: Initiating connection

1) 50 concurrent connections to a newsserver?! Lower that to 2
2) "sabnzbdplus-0.6.15"? Upgrade to current version: 0.7.16
3) I'm still waiting for your output of "free -m"
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: SABnzbd getting Killed [Raspi]

Post by jcfp »

sander wrote:1) 50 concurrent connections to a newsserver?! Lower that to 2
Bingo.
50 connections is a sure way to get the process killed by the oom killer on resource-limited system such as the pi.
sayreg
Newbie
Newbie
Posts: 8
Joined: September 7th, 2013, 8:59 pm

Re: SABnzbd getting Killed [Raspi]

Post by sayreg »

sander wrote:

Code: Select all

2013-09-11 18:24:12,482::INFO::[downloader:351] 48@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,626::INFO::[downloader:351] 49@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,806::INFO::[downloader:351] 50@usnews.blocknews.net:119: Initiating connection

1) 50 concurrent connections to a newsserver?! Lower that to 2
2) "sabnzbdplus-0.6.15"? Upgrade to current version: 0.7.16
3) I'm still waiting for your output of "free -m"

Thanks Sander, I will lower the connections to 2. 50 is the max the news server allowed so I figured the more the better. I will try free -m and post back the results.
sayreg
Newbie
Newbie
Posts: 8
Joined: September 7th, 2013, 8:59 pm

Re: SABnzbd getting Killed [Raspi]

Post by sayreg »

sander wrote:

Code: Select all

2013-09-11 18:24:12,482::INFO::[downloader:351] 48@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,626::INFO::[downloader:351] 49@usnews.blocknews.net:119: Initiating connection
2013-09-11 18:24:12,806::INFO::[downloader:351] 50@usnews.blocknews.net:119: Initiating connection

1) 50 concurrent connections to a newsserver?! Lower that to 2
2) "sabnzbdplus-0.6.15"? Upgrade to current version: 0.7.16
3) I'm still waiting for your output of "free -m"

Here is the free -m results while downloading with 2 connections;

Code: Select all

pi@raspbmc:~$ free -m
                             total       used       free     shared    buffers     cached
Mem:                      375        349         25          0          1        184
-/+ buffers/cache:            164        211
Swap:                        0            0             0
Thanks again for the help.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd getting Killed [Raspi]

Post by sander »

So ... what is the result? Does SAB keep running?

Analysis of your "free -m":
you have a 512MB RAM Raspi. That's good.
You only have 375MB RAM total available to the CPU, which means you have assigned 128MB RAM to the GPU. Does that mean you run X on the Raspi?
You have no swap. That means - in my experience - that if RAM gets full, Linux will kill a process (just like you noticed). *With* swap, a process will get swapped out. That will make the system slower, but it will not kill processes.
Post Reply