For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > January 2008 > Strange HTTP behavior









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Strange HTTP behavior
Bin Chen

2008-01-19, 4:25 am

Hi,

My machine is Linux 2.6 and I find some strange HTTP download behivior
these days. Every time I want to download a file from a HTTP server,
the speed will from around 120KB/s, the speed will retain to several
minutes, then speed becomes 4KB/s. But if I kill the wget process and
restart the download, the scenario will repeat, from 120KB/s to 4KB/s.

What has happened? Is the server broken, or network congestion? I
can't believe it is network problem, becoz it can't be persuaded the
restart case.

What can I do to find the root cause?

Thanks.
Bin
Bit Twister

2008-01-19, 4:25 am

On Fri, 18 Jan 2008 23:30:23 -0800 (PST), Bin Chen wrote:
> Hi,


Hello to you. :)

> My machine is Linux 2.6 and I find some strange HTTP download behivior
> these days. Every time I want to download a file from a HTTP server,
> the speed will from around 120KB/s, the speed will retain to several
> minutes, then speed becomes 4KB/s. But if I kill the wget process and
> restart the download, the scenario will repeat, from 120KB/s to 4KB/s.


If you go to other sites and have the same problem downloading large
files then I'll guess your ISP is throttling your download connection.

If other sites work and still have the same problem on the same site,
that site is throttling what it is sending.

Syren Baran

2008-01-19, 7:12 pm

Bin Chen schrieb:
> Hi,
>
> My machine is Linux 2.6 and I find some strange HTTP download behivior
> these days. Every time I want to download a file from a HTTP server,
> the speed will from around 120KB/s, the speed will retain to several
> minutes, then speed becomes 4KB/s. But if I kill the wget process and
> restart the download, the scenario will repeat, from 120KB/s to 4KB/s.
>
> What has happened? Is the server broken, or network congestion? I
> can't believe it is network problem, becoz it can't be persuaded the
> restart case.

I got one question first. Is this *one* file or several?
Transfer rates wll generally be lower with smaller files, given the
overhead of the protocoll and network latency.
>
> What can I do to find the root cause?

If you can tell me exactly what you´re doing/trying to do the answer
might be easier.
>
> Thanks.
> Bin

Bin Chen

2008-01-19, 10:15 pm

On 1=E6=9C=8820=E6=97=A5, =E4=B8=8A=E5=8D=886=E6=97=B609=E5=88=86,
Syren Bar=
an <sy...@gmx.de> wrote:
> Bin Chen schrieb:> Hi,
>
>
>
> I got one question first. Is this *one* file or several?
> Transfer rates wll generally be lower with smaller files, given the
> overhead of the protocoll and network latency.
>
>
> If you can tell me exactly what you=C2=B4re doing/trying to do the answer
> might be easier.
>

I am downloading one file many times using wget, the file is quite
large, >3MB.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com