Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at 99.34% #47

Open
tylerweitzman opened this issue Apr 26, 2022 · 5 comments
Open

Stuck at 99.34% #47

tylerweitzman opened this issue Apr 26, 2022 · 5 comments

Comments

@tylerweitzman
Copy link

Hi,
I get the following

got -c 128 https://datashare.ed.ac.uk/download/DS_10283_3443.zip
  99.34% ▕████████████████████████▉▏ 12 GB/12 GB @ 0 B/s

I'm using a VM with 8 vCPUs, so it's 16 threads per core. It downloaded @40-90MB/s at the beginning and then once it reached 99.45% it slows down to 0 B/s. What's going on?

@melbahja
Copy link
Owner

Maybe you're IP address get blocked, 128 is too many concurrent connections.

@melbahja
Copy link
Owner

I would recommend that u always keep the -c value below 10.

@tylerweitzman
Copy link
Author

tylerweitzman commented Apr 27, 2022 via email

@zQueal
Copy link

zQueal commented Apr 28, 2022

I actually tried even 1000 connections. It was interesting because I was able to get up to 90 MB/s on that whereas with wget I get 400Kb.

Because you're entirely monopolizing the throughput from the server by using so many connections, which as melbahja pointed out, you've probably been IP banned as an anti-DDoS measure...or maybe the server admin noticed the uptick in simultaneous connections and rate limited the number of connections from 1 host.

Is there any way that we could recover from rate limits that are delayed?

Something like this has nothing to do with got. It's entirely up to the server you're pulling from what kind of bandwidth is acceptable, and what is not. You weren't very nice to the server, so being unbanned is probably not going to happen.

@melbahja
Copy link
Owner

Adding X-Rate-Limit-Limit support will help prevent issues like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants