Page 1 of 1

SABNZBD Crashing

Posted: April 7th, 2014, 1:47 am
by djmurray
Hey guys,

So lately I have been having this issue when my router changes the account info (everyday at 6am and 6pm) sabnzbd crashes.

I dont see anything in the logs that leads me to the problem. I just see "Article Not Found".

Windows then displays an error saying that SABNZBD has crashed.

My Server Specs are:
Intel Core i7 4820K
16 GIG of ram.
Windows Server 2012

Re: SABNZBD Crashing

Posted: April 7th, 2014, 1:55 am
by shypike
Could be, we never tested that situation.
It's very unusual that routers do that. Why does it?

Re: SABNZBD Crashing

Posted: April 7th, 2014, 2:35 am
by djmurray
shypike wrote:Could be, we never tested that situation.
It's very unusual that routers do that. Why does it?
I have multiple ISP's that I switch between for work. So every day of the week it changes at 6am and again at 6pm.

I can incorporate a shutdown 5 minutes before the change will run, but I am worried that my downloads that are extracting will fail?

Re: SABNZBD Crashing

Posted: April 7th, 2014, 3:58 am
by shypike
If you schedule a "program shutdown" in SABnzbd, things will work fine.
However, the current running post processing job will be finished.
Because SABnzbd will wait for the pp job and will do nothing else,
I assume the crash will not occur.

(The crash likely comes from the third-party web-framework that we use,
I can imagine that webservers don't expect their IP address to change.
We're upgrading the library in the next major release.)

Re: SABNZBD Crashing

Posted: April 7th, 2014, 6:29 am
by djmurray
shypike wrote:If you schedule a "program shutdown" in SABnzbd, things will work fine.
However, the current running post processing job will be finished.
Because SABnzbd will wait for the pp job and will do nothing else,
I assume the crash will not occur.

(The crash likely comes from the third-party web-framework that we use,
I can imagine that webservers don't expect their IP address to change.
We're upgrading the library in the next major release.)
Thanks you for the reply and information shypike.

Is there a command line parameter that I can run to initialize the shutdown, or should I automate the key stroke on the app itself?

Re: SABNZBD Crashing

Posted: April 7th, 2014, 7:46 am
by shypike
SABnzbd has its own scheduler where you can set a "program shutdown".
Config->Scheduler
Assuming you know when the IP change comes, you can set a proper interval.

Re: SABNZBD Crashing

Posted: April 7th, 2014, 8:21 am
by djmurray
Ah thats great. Didn't notice the shutdown function. So I presume I just have to schedule a task in windows to start sabnzbd again?

Re: SABNZBD Crashing

Posted: April 7th, 2014, 9:17 am
by shypike
djmurray wrote: So I presume I just have to schedule a task in windows to start sabnzbd again?
Yes.