Page 1 of 2
Random crashing
Posted: March 24th, 2011, 11:10 am
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.
Re: Random crashing
Posted: March 24th, 2011, 1:31 pm
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
Re: Random crashing
Posted: April 1st, 2011, 6:48 am
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
Re: Random crashing
Posted: April 1st, 2011, 10:10 am
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..
Re: Random crashing
Posted: April 2nd, 2011, 3:25 am
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.
Re: Random crashing
Posted: July 14th, 2011, 9:21 am
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.
Re: Random crashing
Posted: July 14th, 2011, 12:25 pm
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.
Re: Random crashing
Posted: July 26th, 2011, 5:04 am
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.
Re: Random crashing
Posted: July 26th, 2011, 5:10 am
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.
Re: Random crashing
Posted: July 28th, 2011, 7:02 am
by wonderchimp
I upgraded from 0.6.5 to on Ubuntu Linux 11.04
Re: Random crashing
Posted: July 28th, 2011, 7:56 am
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.
Re: Random crashing
Posted: August 2nd, 2011, 11:06 am
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.
Re: Random crashing
Posted: August 2nd, 2011, 11:33 am
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
Re: Random crashing
Posted: August 2nd, 2011, 12:33 pm
by agentgreen
I will do this once it stops responding again. Thanks.
Re: Random crashing
Posted: August 2nd, 2011, 3:46 pm
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 ...