Web GUI Crashing
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Web GUI Crashing
I've been having issues with the web gui of SABnzbd+ on my Ubuntu Server 12.04.1 crashing. I was told to change the defopts in the init script to contain "-l 2" instead of --daemon. I've noticed that while sometimes I can't access the web gui (it takes between a few hours and a day to crash) it was still downloading things. What could be possible causes of just the web interface crashing? I've even tried purging and reinstalling SAB and just restoring my sabnzbd.ini file to get my configs back, it is still crashing.
Re: Web GUI Crashing
What exactly is crashing in your case?
Simply not responding? Giving error messages, complaining about syntax errors?
On small systems, SABnzbd can have performance problems under heavy load.
What is your system? How fast does it download?
Simply not responding? Giving error messages, complaining about syntax errors?
On small systems, SABnzbd can have performance problems under heavy load.
What is your system? How fast does it download?
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
Thanks, for responding. It is up right now, when it goes down again I'll pay more attention to the website error. The website just doesn't respond, but I really haven't paid attention to why I guess.shypike wrote:What exactly is crashing in your case?
Simply not responding? Giving error messages, complaining about syntax errors?
On small systems, SABnzbd can have performance problems under heavy load.
What is your system? How fast does it download?
My system is a custom build I built a while back. It's a Intel Core 2 Quad Q6600 2.4GHz, 6GB DDR2 RAM. I really don't think it would be that my system isn't powerful enough, it is really overkill for what it is doing. The only time the system gets taxed is when Plex Media Server is transcoding, and even then it's about 50% of the CPU.
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
It just crashed again. The webpage just says that it is taking too long to respond. Sickbeard, Couchpotato, and Headphones all still work though. Based on you being the second person to mention it might just be struggling I checked top, about 2% of my CPU is being used, but when I looked at free memory...
Also, this has been working for months now and it recently started doing this. The hardware did not change at all and I haven't changed any software configurations (why change what's working?). If there is no way to trouble shoot, I might just be rebuilding this.
Free space is still around 5GB and it hasn't even touched swap.total used free shared buffers cached
Mem: 5969 5537 431 0 776 3935
-/+ buffers/cache: 824 5144
Swap: 5719 0 5719
Also, this has been working for months now and it recently started doing this. The hardware did not change at all and I haven't changed any software configurations (why change what's working?). If there is no way to trouble shoot, I might just be rebuilding this.
Re: Web GUI Crashing
CouchPotato, right.
Do you happen to have a large history in SABnzbd?
If so, upgrade to 0.7.4RC1
Do you happen to have a large history in SABnzbd?
If so, upgrade to 0.7.4RC1
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
Good call, I did have a large history. I've since cleared it out. I guess we'll see what happens now.shypike wrote:CouchPotato, right.
Do you happen to have a large history in SABnzbd?
If so, upgrade to 0.7.4RC1
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
Unfortunately, that didn't do the trick. It has crashed a couple times today. How do I upgrade to 0.7.4RC1?
Re: Web GUI Crashing
FlexibleToast wrote:How do I upgrade to 0.7.4RC1?
Stop SABnzbd. Then:
Code: Select all
wget http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus-beta/0.7.4RC1/SABnzbd-0.7.4RC1-src.tar.gz
tar xvzf SABnzbd-0.7.4RC1-src.tar.gz
cd SABnzbd-0.7.4RC1/
./SABnzbd.py
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
I switched to the unofficial repository found on this forum and now I'm running 0.7.3, the version that is in the Ubuntu repos is 0.6 something. And yes, I do use HTTPS. I've been using HTTPS since I've had it installed. You're asking for me to turn it off completely, or recycle it?
Re: Web GUI Crashing
I don't know what you mean with "recycle", but ... yes, turn off HTTPS in SABnzbd completely.FlexibleToast wrote: And yes, I do use HTTPS. I've been using HTTPS since I've had it installed. You're asking for me to turn it off completely, or recycle it?
It might be this problem: http://wiki.sabnzbd.org/faq#toc33
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
Recycle, as in off/on. I'm off to read up on that problem. We'll see how this newer version fairs though.
Re: Web GUI Crashing
FlexibleToast wrote:Recycle, as in off/on. I'm off to read up on that problem. We'll see how this newer version fairs though.
Turning it off in Config -> General by unckecking "Enable HTTPS", and then restarting SABnzbd is the way to do it.
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
After reading the FAQ (which I looked through before, but I must have glanced through too quickly), it sounds like it might be getting accessed too much. It could have been an update to one of the services like sickbeard. I switched those all to use the http port instead of https, they are on the local network after all. Maybe decreasing the https traffic is enough. I really don't want to use http over the internet if I don't have to.
-
- Newbie
- Posts: 17
- Joined: January 8th, 2012, 3:50 pm
Re: Web GUI Crashing
So, I think you're absolutely right on the problem. It crashed again and I ran the like the FAQ says to see if it is the problem. The FAQ says if you see dozens or hundreds of entries, that is the problem. Well, I had to pipe it to more because there was so many. I counted over 20 pages of more and there are 22 entries per page... So, 440 half open connections. It also makes sense because the only thing that has changed is where I'm accessing SAB from. All the stuck connections are from my hotel's IP. That kind of sucks because that is when I would want to use https the most. I do have my VPN that I can use to access everything securely from still I guess.
Code: Select all
netstat -apon | grep -e :8080 -e :9090
Re: Web GUI Crashing
As a workaround, you could try to restart SABnzbd each hour from crontab. A simple wget / curl / lynx should work. See http://wiki.sabnzbd.org/api#toc21
Disclaimer: I assume but I'm not 100% sure a restart solves the half open connections. So ... test it. :-)
EDIT:
easier method: let SABnzbd restart itself via the builtin scheduler. See http://localhost:8080/config/scheduling/
Disclaimer: I assume but I'm not 100% sure a restart solves the half open connections. So ... test it. :-)
EDIT:
easier method: let SABnzbd restart itself via the builtin scheduler. See http://localhost:8080/config/scheduling/