Page 1 of 1

Very slow webserver

Posted: February 15th, 2012, 5:08 pm
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)

Re: Very slow webserver

Posted: February 15th, 2012, 5:59 pm
by shypike
Hard to tell when you give zero details about your system, setup, version etc.

Re: Very slow webserver

Posted: February 16th, 2012, 7:44 am
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

Re: Very slow webserver

Posted: February 16th, 2012, 12:28 pm
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.

Re: Very slow webserver

Posted: February 16th, 2012, 5:54 pm
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.

Re: Very slow webserver

Posted: February 16th, 2012, 5:58 pm
by shypike
There must something in the network then.
SSL is not that expensive.
How fast is local access?

Re: Very slow webserver

Posted: February 16th, 2012, 6:02 pm
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

Re: Very slow webserver

Posted: February 17th, 2012, 1:36 am
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)

Re: Very slow webserver

Posted: February 17th, 2012, 8:02 am
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.

Re: Very slow webserver

Posted: February 17th, 2012, 8:06 am
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?

Re: Very slow webserver

Posted: February 17th, 2012, 8:15 am
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.

Re: Very slow webserver

Posted: February 17th, 2012, 10:23 am
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)?

Re: Very slow webserver

Posted: February 17th, 2012, 1:38 pm
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.