Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I/net server throttling
Date: Sun, 01 Jul 2012 21:29:02
Message-Id: CA+czFiBRZ_Yo7C64Aw0HPyaOg=ryBvLUUy0i4O-rAEYM684Liw@mail.gmail.com
In Reply to: Re: [gentoo-user] I/net server throttling by Mick
1 On Sun, Jul 1, 2012 at 4:12 PM, Mick <michaelkintzios@×××××.com> wrote:
2 > On Sunday 01 Jul 2012 20:34:23 Jarry wrote:
3 >> On 01-Jul-12 21:20, Philip Webb wrote:
4 >> > I now have an explicit example of a server doing this :
5 >> > 503: hold> wget --no-check-certificate -c
6 >> > http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf --2012-07-01
7 >> > 15:07:18-- http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf
8 >> > Resolving www.math.wisc.edu... 144.92.166.196
9 >> > Connecting to www.math.wisc.edu|144.92.166.196|:80... connected.
10 >> > HTTP request sent, awaiting response... 302 Found
11 >> > Location:
12 >> > https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keisler
13 >> > calc-2-12.pdf [following] --2012-07-01 15:07:18--
14 >> > https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keisler
15 >> > calc-2-12.pdf Connecting to www.math.wisc.edu|144.92.166.196|:443...
16 >> > connected. WARNING: The certificate of `www.math.wisc.edu' is not
17 >> > trusted. WARNING: The certificate of `www.math.wisc.edu' hasn't got a
18 >> > known issuer. HTTP request sent, awaiting response... 200 OK
19 >> > Length: 24184097 (23M) [application/pdf]
20 >> > Saving to: `keislercalc-2-12.pdf'
21 >> >
22 >> > 6% [==========> ] 1,638,400 64.5K/s eta 38m 5s
23 >>
24 >> Everything OK here:
25 >>
26 >> obelix ~ # wget --no-check-certificate -c
27 >> http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf
28 >> --2012-07-01 19:35:14--
29 >> http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf
30 >> Resolving www.math.wisc.edu... 144.92.166.196
31 >> Connecting to www.math.wisc.edu|144.92.166.196|:80... connected.
32 >> HTTP request sent, awaiting response... 302 Found
33 >> Location:
34 >> https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keislercalc-2
35 >> -12.pdf [following]
36 >> --2012-07-01 19:35:14--
37 >> https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keislercalc-2
38 >> -12.pdf Connecting to www.math.wisc.edu|144.92.166.196|:443... connected.
39 >> HTTP request sent, awaiting response... 200 OK
40 >> Length: 24184097 (23M) [application/pdf]
41 >> Saving to: `keislercalc-2-12.pdf'
42 >>
43 >> 100%[======================================>] 24,184,097 6.88M/s in 4.4s
44 >>
45 >> 2012-07-01 19:35:19 (5.25 MB/s) - `keislercalc-2-12.pdf' saved
46 >> [24184097/24184097]
47 >>
48 >> Jarry
49 >
50 > Everything OK here too maxing out my ADSL connection (I'm envious of Jarry's
51 > fibre! :p )
52 >
53 > $ wget --no-check-certificate -c
54 > http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf
55 > --2012-07-01 20:54:06--
56 > http://www.math.wisc.edu/~keisler/keislercalc-2-12.pdf
57 > Resolving www.math.wisc.edu... 144.92.166.196
58 > Connecting to www.math.wisc.edu|144.92.166.196|:80... connected.
59 > HTTP request sent, awaiting response... 302 Found
60 > Location:
61 > https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keislercalc-2-12.pdf
62 > [following]
63 > --2012-07-01 20:54:07--
64 > https://www.math.wisc.edu/formMail/throttle.php?URL=/~keisler/keislercalc-2-12.pdf
65 > Connecting to www.math.wisc.edu|144.92.166.196|:443... connected.
66 > HTTP request sent, awaiting response... 200 OK
67 > Length: 24184097 (23M) [application/pdf]
68 > Saving to: `keislercalc-2-12.pdf'
69 >
70 > 100%[======================================>] 24,184,097 821K/s in 38s
71 >
72 > 2012-07-01 20:54:46 (619 KB/s) - `keislercalc-2-12.pdf' saved
73 > [24184097/24184097]
74 >
75 >
76 > This pretty good given that I am connecting all the way from ol' Blighty and
77 > there is some latency and potentially dropped packets:
78 >
79 > # mtr -c 3 -s 955 -u -l -r wisc.edu
80 > HOST: dell_xps Loss% Snt Last Avg Best Wrst StDev
81 > 1.|-- router 0.0% 3 4.0 3.9 3.9 4.0 0.0
82 > 2.|-- b.gormless.thn.aa.net.uk 0.0% 3 43.5 44.9 43.5 46.1 1.3
83 > 3.|-- a.aimless.thn.aa.net.uk 0.0% 3 45.6 45.0 43.1 46.3 1.7
84 > 4.|-- 10gigabitethernet1-1.core 0.0% 3 47.7 58.2 45.1 81.9 20.5
85 > 5.|-- 10gigabitethernet7-4.core 0.0% 3 112.5 112.9 112.5 113.7 0.7
86 > 6.|-- 10gigabitethernet8-3.core 0.0% 3 131.9 136.3 131.9 139.8 4.0
87 > 7.|-- ??? 100.0 3 0.0 0.0 0.0 0.0 0.0
88 > 8.|-- r-uwmadison-isp-xe-8-0-1- 0.0% 3 165.7 166.8 161.1 173.6 6.3
89 > | `|-- 140.189.8.1
90 > 9.|-- r-peer-xe-1-1-0-945.net.w 0.0% 3 160.0 161.0 160.0 161.9 1.0
91 > 10.|-- r-cssc-b280c-9-core-vlan- 0.0% 3 161.9 160.4 159.5 161.9 1.3
92 > | `|-- 146.151.167.85
93 > 11.|-- r-csscplat-b380-1-node-vl 0.0% 3 159.9 160.4 159.6 161.7 1.2
94 > 12.|-- ??? 100.0 3 0.0 0.0 0.0 0.0 0.0
95 >
96 >
97 > If as I recall you said this happens at all times and it is not related to
98 > Internet congestion, then all I can suggest is to try using a different ISP's
99 > network and see if you are getting similar problems.
100
101 It could be a connection duration limit. Either the web server or an
102 intermediate proxy server may place a limit on how long a connection
103 may be open. If you have a low-bandwidth pipe, you'd be more
104 vulnerable to hitting that limit than someone with a high-bandwidth
105 pipe.
106
107 Possible sources off the top of my head: PHP scripts' script time
108 limits. squid connection time limits.
109
110 Try launching two simultaneous wget processes, and see if they both
111 fail out around the same time.
112
113
114
115 --
116 :wq

Replies

Subject Author
Re: [gentoo-user] I/net server throttling Philip Webb <purslow@××××××××.net>