Random 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.
milomak
Newbie
Newbie
Posts: 17
Joined: September 3rd, 2010, 5:16 pm

Random crashing

Post by milomak »

I have found that with both 0.5.4-1 and 0.5.6-1 on Debian, that sabnzb will randomly crash. when i restart it, it loses the data for whatever was being downloaded at the time.

Anyone else experienced this?

Maybe you can give me guidance what to look for in the logs.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random crashing

Post by shypike »

Run it from a terminal window and see if there's crash messages.
You can also check SABnzbd's own log file in ~/.sabnzbd/logs
coatezy
Newbie
Newbie
Posts: 13
Joined: June 29th, 2010, 6:12 pm

Re: Random crashing

Post by coatezy »

Hi,

I'm experiencing the exact same problems on SABnzbd 0.6.0Beta4 running on Ubuntu Server edition. (10.4) There doesn't seem to be any real trends as to when it shuts down but it certainly wont stay running for no more than 24hours before it crashes.. Normally wont last 12. I have just started it again manually via ssh and will leave it running to see what errors I get when it crashes. This issue started about 2weeks ago.

Tom
coatezy
Newbie
Newbie
Posts: 13
Joined: June 29th, 2010, 6:12 pm

Re: Random crashing

Post by coatezy »

From what I can see sab is still downloading in the background as it is updating every minute within the terminal but the web service seems to have crapped out and I'm unable to interface with sab. The same also goes for any third part clients connecting to sab via the api.. Ie SABmobile for android. Is there anything I should look out for in the log file!? Really confused as to why this would just start happening..  ???
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random crashing

Post by shypike »

I'm as confused as you are, because the CherryPy web framework is very robust.
Even crashing SABnzbd UI modules won't shut it down.
Are you using an HTTP or an HTTPS connection?
If you start with the -w1 parameter, you'll also see the web traffic logged.
Maybe that will give some clues.
wonderchimp
Newbie
Newbie
Posts: 4
Joined: July 14th, 2011, 9:17 am

Re: Random crashing

Post by wonderchimp »

Is there a resolution to this? I am running SAB 0.6.5 on Ubuntu 11.04 and the same thing is happening to me.

It was happening on 0.6.4 when I was on ubuntu 10.10, I upgraded my distribution to see if this would fix it. It didn't, when 0.6.5 came out I upgraded that and that didn't help.

Was hoping not to have to uninstall and reinstall as it means changing the API on loads of other programs and devices.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random crashing

Post by shypike »

wonderchimp wrote:Is there a resolution to this?
Was hoping not to have to uninstall and reinstall as it means changing the API on loads of other programs and devices.
No idea if there's a resolution, because so far I cannot reproduce it and I have only these two reports.
I doubt if uninstall/install would do anything but you can try.
I assume you're worried about your API-key. That's just in the ~/.sabnzbd/sabnzbd.ini file.
You can easily restore that.
wonderchimp
Newbie
Newbie
Posts: 4
Joined: July 14th, 2011, 9:17 am

Re: Random crashing

Post by wonderchimp »

just thought I'd weigh in again, when my computer checked for updates recently it updated SAB to 0.6.6Beta2 and in the past couple of days it has run without a crash whereas normally after 12 hours it would become inaccessible. Just in case anyone else searches and finds this post.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random crashing

Post by shypike »

Good news, but from which version did you upgrade?
In 0.6.6B2 a Windows handle leak was removed.
As far as I could tell did not affect other OSses, but maybe it does.
wonderchimp
Newbie
Newbie
Posts: 4
Joined: July 14th, 2011, 9:17 am

Re: Random crashing

Post by wonderchimp »

I upgraded from 0.6.5 to on Ubuntu Linux 11.04
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random crashing

Post by shypike »

We no longer use session locks in the Web-UI (because it's not needed).
Using the locks on Windows led to handle leak, possibly something else leaked on Linux.
agentgreen
Newbie
Newbie
Posts: 48
Joined: February 16th, 2009, 8:56 am

Re: Random crashing

Post by agentgreen »

I'm running Ubuntu 11.04 and Sabnzbd+ 6.6 and sab will become unresponsive after a while. I can still see it listening on 9090 and 8080, but any web connections to it time out.

A restart will resolve the issue, but it will eventually pop back up.
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Random crashing

Post by sander »

agentgreen wrote:I'm running Ubuntu 11.04 and Sabnzbd+ 6.6 and sab will become unresponsive after a while. I can still see it listening on 9090 and 8080, but any web connections to it time out.

A restart will resolve the issue, but it will eventually pop back up.
Post the output of the commands below:

Code: Select all

top -bn1 | grep -i -e USER -e sabnzbd -e rar

free -m
agentgreen
Newbie
Newbie
Posts: 48
Joined: February 16th, 2009, 8:56 am

Re: Random crashing

Post by agentgreen »

I will do this once it stops responding again. Thanks.
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

Re: Random crashing

Post by sander »

agentgreen wrote:I will do this once it stops responding again. Thanks.
Better to do it now also to get a feeling what normal values are ...
Post Reply