[trunk] SABnzbd Crashing

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

[trunk] SABnzbd Crashing

Post by markus101 »

Hi,

I'm having issue with SABnzb shutting down without warning, this can occur both when idle or when it is downloading articles. Looking at the log files from last night it stopped refreshing and doing anything while it was idle.

Using Slackware 12.1 with SABnzbd 2217 from the SVN. Previously I was using 2160 and was seeing less of these crashes, but I was still seeing them.

Edit - I'm using the Plush Interface, not sure if the crash happens on a refresh or not, I'll try switching to another UI.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: [trunk] SABnzbd Crashing

Post by switch »

Crashing how? Just not responding, or crashing out of python?
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [trunk] SABnzbd Crashing

Post by markus101 »

Yeah, If i try to force refresh the page I get a Page Cannot Be Displayed and running 'ps' shows no Python process running. If I re-run the SAB process it comes up no problem, but then goes down again a few minutes later, usually about 15-20 minutes later. I deleted all my log files and then re-ran SAB so I could get a capture of exactly what happened during the time I started it, and the time it crashed.

To me everything looks okay, but I've never dug into the log files before.

I've sent a zip of the log files to the bugs email address,

Please let me know if you need anything else, I was thinking it may be due to low memory (unRAID boots off of flash to a RAM disk, and I do not have a disk for swapping), I've allocated 200M to SAB for caching in RAM (of the 1GB total), hadn't seen problems before, but I looked at top with SAB was running and par2 was running and it never seemed to have a problem, I haven't scaled that back to 100M yet, but I will to test it out.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: [trunk] SABnzbd Crashing

Post by switch »

Are you using SSL? What version of OpenSSL do you have? Do this in terminal

Code: Select all

python
import OpenSSL
OpenSSL.__version__
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [trunk] SABnzbd Crashing

Post by markus101 »

I'm not using SSL - Running the commands I 0.8 returned though. Is there a specific version required for SAB to operate with SSL?

I was thinking back to what I changed before this issue started, it was when I noticed the namemapper issue, so I had copied over the windows compiled files. I've deleted those and SAB has been running strong for over an hour, I'll keep an eye on this, but it seems to have fixed it.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [trunk] SABnzbd Crashing

Post by markus101 »

I'm now getting this message when I start SAB, running 'ps' does not show it running and I can't hit the webpage.

Code: Select all

2009-02-21 15:47:46,497::INFO::[sabnzbd:764] --------------------------------
2009-02-21 15:47:46,497::INFO::[sabnzbd:765] sabnzbd.py-trunk (rev=unknown)
2009-02-21 15:47:46,497::INFO::[sabnzbd:772] Platform = posix
2009-02-21 15:47:46,497::INFO::[sabnzbd:773] Python-version = 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
[GCC 4.2.4]
2009-02-21 15:47:46,498::INFO::[sabnzbd:776] Test release, setting maximum logging levels
This started happening after SAB crashed and now will no longer start. Rebooting that server to see if it makes any difference now.

Works after a reboot... it's been on for over 4 hours now without issue - Looks like ti was related to namemapper, thanks for the help though.

-Markus
Last edited by markus101 on February 21st, 2009, 11:21 pm, edited 1 time in total.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Post Reply