Downloads stop if I impose a speed limit

Bes

Bes

Soldato
Joined
18 Oct 2002
Posts
7,318
Location
Melbourne
Hi,

Having an odd problem on my RH box...

Basically if I download a file using curl, but use --limit-rate to keep it under around 30K/sec, the download dies after a minute or so. The problem gets worse (i.e. the download dies in a shorter time) the slower you set --limit rate. For instance, at 7K, the download dies in about 12 seconds.

I have ruled out iptables and (I think) dodgy TCP configuration.

Any ideas? as I have spent ages on it and it's driving me mad.

Thanks
 
Thanks for the suggestion, that is definitely not what is happening here. Once it hits zero, even leaving it for an hr means it never comes back.

The 'trigger' point is 28K/sec- i.e. 28K fail, 29K= ok. K=Kilobytes

Thanks
 
Hard to say if it is a lib problem. Would doubt it as it's just RH EL4 off the CD.

It's definately not the file I am downloading as other (non RH) systems can DL at 7K.. Hmmm
 
Hi,

Those are part of CURL, right?

No it's not CURL itself, it's something environmental, as if I use that RH box as a proxy (This is what it is for), and download through it with Firefox for example, but set the limit to 7K using the FF speed limiter, I get the same problem.... Download fails after a certain amount of time.

Thanks
 
Back
Top Bottom