axel icon indicating copy to clipboard operation
axel copied to clipboard

"State file found: 162128839 bytes downloaded, 18446744073652280377 to go."

Open sanderjo opened this issue 1 year ago • 0 comments

After a left-over of another, stopped 1GB (so .st in place) download (to same output file blablafile), axel gets confused when trying to get a fresh download, and wants to download 18446744073652280377 bytes = 1.8446744e+19 bytes, which is just below 2^64 (so overflow error?).

And then after a few second all kinds of errors.

Platform: Ubuntu 20.04.

Reproduce:

  1. 1GB download: axel https://speed.hetzner.de/1GB.bin -o blablafile
  2. but ... CTRL-C above 10%, so around 25%, so that intermediate file is bigger than 100MB:
  3. 100MB download, to same output file: axel https://speed.hetzner.de/100MB.bin -o blablafile
  4. result: output with "...18446744073652280377 to go."

Maybe put the URL into to .st to avoid this confusion, and file corruption?

$ axel  https://speed.hetzner.de/100MB.bin -o blablafile
Initializing download: https://speed.hetzner.de/100MB.bin
File size: 104857600 bytes
Opening output file blablafile
State file found: 162128839 bytes downloaded, 18446744073652280377 to go.
Starting download

        ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,

Unable to connect to server speed.hetzner.de:443: System error
SSL error: Too many open files
SSL error: Too many open files
Unable to connect to server speed.hetzner.de:443: System error
Unable to connect to server speed.hetzner.de:443: System error
SSL error: Too many open files
SSL error: Too many open files
Unable to connect to server speed.hetzner.de:443: System error
Unable to connect to server speed.hetzner.de:443: System error
SSL error: Too many open files
Unable to connect to server speed.hetzner.de:443: System error

sanderjo avatar Jul 31 '22 12:07 sanderjo