Very slow webserver

Get help with all aspects of SABnzbd
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.
Post Reply
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Very slow webserver

Post by dcuritois »

sabnzbds webserver (local machine on local network) is really slow - I click a link in the browser - it contacts the server - Firefox displays "waiting for ..." and that waiting bit takes 10-15 seconds before the next page loads?

Why is it so slow? (no downloads, nothing external, just a cabled connection)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Very slow webserver

Post by shypike »

Hard to tell when you give zero details about your system, setup, version etc.
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

shypike wrote:Hard to tell when you give zero details about your system, setup, version etc.
I thought that was irrelevant. Are you saying running the websever is a very cpu intensive task for some reason?

An intel core 2 duo, running windows 7
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Very slow webserver

Post by shypike »

Web browser? Firefox is known to have issues when localhost == ::1 (IPv6 equivalent of 127.0.0.1).
Which host address did you set for SABnzbd?
It's not CPU load that's making it slow.
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

shypike wrote:Web browser? Firefox is known to have issues when localhost == ::1 (IPv6 equivalent of 127.0.0.1).
Which host address did you set for SABnzbd?
It's not CPU load that's making it slow.
Firefox or chrome - and as i wrote its not local host its another machine on the network.
I suspect its ssl that takes time to encode things.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Very slow webserver

Post by shypike »

There must something in the network then.
SSL is not that expensive.
How fast is local access?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

shypike wrote:There must something in the network then.
SSL is not that expensive.
How fast is local access?
Hm, 1.0 Gbps
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Very slow webserver

Post by sander »

dcuritois wrote:
shypike wrote:Web browser? Firefox is known to have issues when localhost == ::1 (IPv6 equivalent of 127.0.0.1).
Which host address did you set for SABnzbd?
It's not CPU load that's making it slow.
Firefox or chrome - and as i wrote its not local host its another machine on the network.
I suspect its ssl that takes time to encode things.
Which URL do you use to access the SAB-machine?

Can you use (=physically logon to) the machine running SABnzbd, and try to see if these work:

http://127.0.0.1:8080/
http://localhost:8080/
http://[::1]:8080/

(Assuming your SABnzbd is running on port 8080)
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

sander wrote: Which URL do you use to access the SAB-machine?
The IP
sander wrote: Can you use (=physically logon to) the machine running SABnzbd, and try to see if these work:

http://127.0.0.1:8080/
http://localhost:8080/
http://[::1]:8080/
Well yes, except the ipv6 which I'm not using.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Very slow webserver

Post by sander »

dcuritois wrote:
sander wrote: Which URL do you use to access the SAB-machine?
The IP
sander wrote: Can you use (=physically logon to) the machine running SABnzbd, and try to see if these work:

http://127.0.0.1:8080/
http://localhost:8080/
http://[::1]:8080/
Well yes, except the ipv6 which I'm not using.
And that's fast?

From your non-SAB machine: what happens when you ping the LAN-IP-address of the machine running SABnzbd?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

sander wrote: And that's fast?

From your non-SAB machine: what happens when you ping the LAN-IP-address of the machine running SABnzbd?
I get a reply at usually around 1ms time.

However, I disabled ssl and now its fast.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Very slow webserver

Post by sander »

dcuritois wrote:
sander wrote: And that's fast?

From your non-SAB machine: what happens when you ping the LAN-IP-address of the machine running SABnzbd?
I get a reply at usually around 1ms time.

However, I disabled ssl and now its fast.
The SSL of HTTPS, or of NNTPS (=access to newsserver)?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Very slow webserver

Post by dcuritois »

sander wrote:
dcuritois wrote:
sander wrote: And that's fast?

From your non-SAB machine: what happens when you ping the LAN-IP-address of the machine running SABnzbd?
I get a reply at usually around 1ms time.

However, I disabled ssl and now its fast.
The SSL of HTTPS, or of NNTPS (=access to newsserver)?
The slowness was trying to navigate the program pages and setting it up - so SSL of the webserver interface - nothing was downloading.
Post Reply