Sabnzbd crashing

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
meddlingbanter
Newbie
Newbie
Posts: 9
Joined: October 13th, 2010, 10:27 pm

Sabnzbd crashing

Post by meddlingbanter »

Version 0.5.4
Ubuntu 10.04 Deb/Ubuntu package


Sabnzbd has been crashing on a daily basis for over a week.  It seemed to happen once I installed CouchPotato.  CouchPotato was crashing too, but that seems to be stable now, while Sabnzbd is crashing daily.  Sabnzbd has been paused every time it has crashed.  I restarted the computer over the weekend to see if that might solve the problem, but it hasn't, still rebooting with the same error each time.  Below is the error:
[18/Oct/2010:18:09:05] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1640, in start
    self.tick()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1688, in tick
    s, addr = self.socket.accept()
  File "", line 4, in accept
  File "/usr/lib/python2.6/socket.py", line 195, in accept
error: [Errno 24] Too many open files

[18/Oct/2010:18:09:05] ENGINE Bus STOPPING
[18/Oct/2010:18:09:05] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 4545)) shut down
[18/Oct/2010:18:09:05] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9090)) shut down
[18/Oct/2010:18:09:05] ENGINE Stopped thread '_TimeoutMonitor'.
[18/Oct/2010:18:09:05] ENGINE Bus STOPPED
[18/Oct/2010:18:09:05] ENGINE Bus EXITING
[18/Oct/2010:18:09:05] ENGINE Bus EXITED
Like I said above, I am running CouchPotato on the same  computer, and since installing it Sabnzbd started crashing.  I also run SickBeard on the same computer but that has never crashed.  I know all three are using CherryPy servers, could that be the issue?  Too many running on that PC? Prior to CouchPotato, Sabnzbd and Sickbeard were working perfect, never crashing.  All three apps are up to date as of this post.  I'm not familiar with CherryPy so maybe someone out there with more experience can shed some light on whats going on here.  Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd crashing

Post by shypike »

meddlingbanter wrote:
[18/Oct/2010:18:09:05] ENGINE Error in HTTP server: shutting down
error: [Errno 24] Too many open files
This look like an Operating System limit being hit.
How many servers and connections did you setup in Config->Servers?
meddlingbanter
Newbie
Newbie
Posts: 9
Joined: October 13th, 2010, 10:27 pm

Re: Sabnzbd crashing

Post by meddlingbanter »

shypike wrote:
meddlingbanter wrote:
[18/Oct/2010:18:09:05] ENGINE Error in HTTP server: shutting down
error: [Errno 24] Too many open files
This look like an Operating System limit being hit.
How many servers and connections did you setup in Config->Servers?
I have 1 server setup and 10 connections.  I'm also not downloading anything when this happens, its in a paused state.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: Sabnzbd crashing

Post by jcfp »

These are limits of the os, take a look at the output of ulimit -a. Common culprits are database servers, torrent apps, etc.
meddlingbanter
Newbie
Newbie
Posts: 9
Joined: October 13th, 2010, 10:27 pm

Re: Sabnzbd crashing

Post by meddlingbanter »

jcfp wrote: These are limits of the os, take a look at the output of ulimit -a. Common culprits are database servers, torrent apps, etc.
Alright thanks.  Looks like my open file limit is set pretty high:

open files                      (-n) 16384
I can't imagine I'm hitting this limit.  I'm not running a database or torrents off the server, its really only for nzb downloads.  Currently it looks like I have only 2300 files open.  I just removed some unnecessary services(apache2, mysql, nfs) and I'll see if that fixes things.
deeepj
Newbie
Newbie
Posts: 1
Joined: February 2nd, 2012, 3:53 pm

Re: Sabnzbd crashing

Post by deeepj »

Hello !
Can you explain me how did you fix your problem ? It's the same for me and I don't understand what is going on...
Thanks !
meddlingbanter
Newbie
Newbie
Posts: 9
Joined: October 13th, 2010, 10:27 pm

Re: Sabnzbd crashing

Post by meddlingbanter »

My problem went away with one of the updates to SAB though I dot remember which one. What version are you running?
Post Reply