You are not logged in.
Hi, I'm struggling with a weird issue on my Arch install.
No matter which browser I use (FF or Chromium), when I try to load some heavy pages (with many js, gifs, ads ...) it takes forever to display the page.
With firebug, I see it is the connection phase for each page fragment that is very long (30, 40 s and even more).
DNS lookup is fine. I changed my DNS server just to make sure but it did not change anything, as expected.
When using pacman -Syu, runs fast. Same when trying to download a single file, no matter how big.
Things get strange when I use the OpenVPN provided by my company, over the same internet connection : Web browsing runs smoothly and the page takes just a few seconds to display, even with many different fragments from different servers.
I'm kind of stuck here,since I am no VPN expert.
Any help would be greatly appreciated.
Offline
So long as you've confirmed it's not a DNS issue, then it's a weird one...
In:
Firefox -> Preferences -> Advanced -> Network -> Settings...
If it's set to 'Auto-detect' or 'System settings', try changing it to "No proxy".
xfce | compiz | gmrun | urxvt | chromium | geany | aqualung | vlc | geeqie
Offline
Do you have a firewall enabled which is disabled on VPN connection?
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
So long as you've confirmed it's not a DNS issue, then it's a weird one...
In:
Firefox -> Preferences -> Advanced -> Network -> Settings...
If it's set to 'Auto-detect' or 'System settings', try changing it to "No proxy".
Thanks for your answer, but it is already setup with "No proxy". Weird one indeed.
Offline
Do you have a firewall enabled which is disabled on VPN connection?
I do not enable nor disable anything when I start the VPN. At least, nothing that I'm aware of :-)
Checked my iptables with and without VPN, same result !
All input ports are blocked on my internet box except a few port forwarding (https, ssh...).
But I'll search in this direction, thanks for pointing it !
Offline
Are you able to reproduce the issue on a different OS (on the same machine) or it happens just with your arch installation?
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Are you able to reproduce the issue on a different OS (on the same machine) or it happens just with your arch installation?
Just tried no the same machine with PartedMagic and Firefox. Same problem, not as acute as Arch, but it is there.
Maybe not an Arch problem after all.
Offline
Is this a wifi or ethernet connection?
As the problem is there for another OS on the same machine, can you test if it is there on another machine? I guess it is a router issue, although I've never had the situation where VPN works BETTER than normal...this is strange
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Is this a wifi or ethernet connection?
As the problem is there for another OS on the same machine, can you test if it is there on another machine? I guess it is a router issue, although I've never had the situation where VPN works BETTER than normal...this is strange
Well, it is a little bit more complicated : Computer -> Switch -> Powerline -> Router -> Internet Box -> Internet
Except powerline, everything works with Ethernet to the Internet box.
Before migrating to Arch, I was on Ubuntu and everything worked very well.
I suspect my Internet Box to be the problem, but I cannot prove it.
I will install Arch on a spare laptop and see if I can reproduce the problem, and try to narrow it down by plugging the laptop closer and closer to the box, just to make sure.
Real mystery, thanks for helping.
Offline
just my 2 cents. Maybe your isp doing some sort of bandwidth throttling/ shaping for http traffic?
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Online
Probably your network is just slow in establishing connections.
VPN is fast because the real connection is established just one time and all the traffic is incapsulated into it.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Probably your network is just slow in establishing connections.
VPN is fast because the real connection is established just one time and all the traffic is incapsulated into it.
Yes I thought of something like that. When I wget a large file on a single http, works well because one connection. Same over a tunnel.
The problem is, when I chain a series of wgets or curls it seems to work well, except once in a while when it stalls. It behaves as if my isp or some hardware was limiting the number of connections...
I'm gonna try some parallel curls and wgets to see if the number of active connections is the issue.
Offline
just my 2 cents. Maybe your isp doing some sort of bandwidth throttling/ shaping for http traffic?
Please see the previous answer by kokoko3k, looks like http simultaneous connections is the issue.
I think I'll try to find a minimal repeatable scenario to confirm some of our assumptions.
Thanks!
Last edited by archgeek (2014-07-08 14:49:24)
Offline
So long as you've confirmed it's not a DNS issue, then it's a weird one...
In:
Firefox -> Preferences -> Advanced -> Network -> Settings...
If it's set to 'Auto-detect' or 'System settings', try changing it to "No proxy".
I suggest you read up on this before suggesting things, because you're making yourself look stupid.
Offline
you could try to lower
network.http.max-connections
in firefox (about:config url)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Korrode wrote:So long as you've confirmed it's not a DNS issue, then it's a weird one...
In:
Firefox -> Preferences -> Advanced -> Network -> Settings...
If it's set to 'Auto-detect' or 'System settings', try changing it to "No proxy".I suggest you read up on this before suggesting things, because you're making yourself look stupid.
Refrain from gratuitous ad hominem remarks, they are not welcome here:
https://wiki.archlinux.org/index.php/Fo … ther_Users
Offline
ugjka wrote:just my 2 cents. Maybe your isp doing some sort of bandwidth throttling/ shaping for http traffic?
Please see the previous answer by kokoko3k, looks like http simultaneous connections is the issue.
I think I'll try to find a minimal repeatable scenario to confirm some of our assumptions.
Thanks!
Try pinging your router https://wiki.archlinux.org/index.php/Ne … Traceroute
What times do you get?
Last edited by ugjka (2014-07-08 19:54:53)
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Online
archgeek wrote:ugjka wrote:just my 2 cents. Maybe your isp doing some sort of bandwidth throttling/ shaping for http traffic?
Please see the previous answer by kokoko3k, looks like http simultaneous connections is the issue.
I think I'll try to find a minimal repeatable scenario to confirm some of our assumptions.
Thanks!Try pinging your router https://wiki.archlinux.org/index.php/Ne … Traceroute
What times do you get?
Pinging the router
belgarath@sendaria:~$ ping -c4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=255 time=3.91 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=255 time=6.74 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=255 time=5.47 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=255 time=3.79 ms
Pinging the box
belgarath@sendaria:~$ ping -c4 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=63 time=7.64 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=63 time=6.42 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=63 time=4.65 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=63 time=4.80 ms
Pinging my ISP's DNS
belgarath@sendaria:~$ ping -c4 89.2.0.1
PING 89.2.0.1 (89.2.0.1) 56(84) bytes of data.
64 bytes from 89.2.0.1: icmp_seq=1 ttl=59 time=20.1 ms
64 bytes from 89.2.0.1: icmp_seq=2 ttl=59 time=18.6 ms
64 bytes from 89.2.0.1: icmp_seq=3 ttl=59 time=22.7 ms
64 bytes from 89.2.0.1: icmp_seq=4 ttl=59 time=39.2 ms
More info
I have a server (running Ubuntu Server) connected to the same switch, and pings give the same response times.
I have tried flood pings to the router and box, and this works smoothly.
Offline
Well, those look ok. What happens when you ping something like www.google.com or some other website that you have problems with
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Online
Well, those look ok. What happens when you ping something like www.google.com or some other website that you have problems with
belgarath@sendaria:~$ ping -c4 lci.tf1.fr
PING a1272.g.akamai.net (213.152.6.88) 56(84) bytes of data.
64 bytes from 213.152.6.88.static.not.updated.as8218.eu (213.152.6.88): icmp_seq=1 ttl=55 time=49.6 ms
64 bytes from 213.152.6.88.static.not.updated.as8218.eu (213.152.6.88): icmp_seq=2 ttl=55 time=39.6 ms
64 bytes from 213.152.6.88.static.not.updated.as8218.eu (213.152.6.88): icmp_seq=3 ttl=55 time=78.8 ms
64 bytes from 213.152.6.88.static.not.updated.as8218.eu (213.152.6.88): icmp_seq=4 ttl=55 time=47.9 ms
This is a French news site, and the results are not worse than the following :-)
belgarath@sendaria:~$ ping -c4 bbs.archlinux.org
PING alderaan.archlinux.org (78.46.78.247) 56(84) bytes of data.
64 bytes from alderaan.archlinux.org (78.46.78.247): icmp_seq=1 ttl=49 time=55.2 ms
64 bytes from alderaan.archlinux.org (78.46.78.247): icmp_seq=2 ttl=49 time=62.1 ms
64 bytes from alderaan.archlinux.org (78.46.78.247): icmp_seq=3 ttl=49 time=45.4 ms
64 bytes from alderaan.archlinux.org (78.46.78.247): icmp_seq=4 ttl=49 time=49.2 ms
I suspect something with concurrent connections, and tried to reduce the number of active connections as suggested by
you could try to lower
network.http.max-connections
in firefox (about:config url)
Default was 256, tried 100, 50 and then 5. Does not change much, page still takes over 1 minute to load.
When I turn on the VPN, time is no more than 5s.
This drives me crazy
Offline
Heh i don't know anymore. Have you tried rebooting everything: your switch, router, internet box?
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Online
Heh i don't know anymore. Have you tried rebooting everything: your switch, router, internet box?
Frustrating, isn't it ? Yes, I tried all this. I'll try tomorrow with another PC plugged directly to the internet box and try to narrow the problem down.
Thanks a million for your time !
Last edited by archgeek (2014-07-08 20:50:06)
Offline