axel icon indicating copy to clipboard operation
axel copied to clipboard

axel download 33G file hungs

Open lihuibng opened this issue 3 years ago • 10 comments

Initializing download: http://xxx.com/xxxx.tar.gz File size: 33.1175 Gigabyte(s) (35559602211 bytes) Opening output file xxxx.tar.gz State file found: 35559410360 bytes downloaded, 191851 to go. Starting download

it hung for a long time, and never go on again

lihuibng avatar Feb 16 '21 04:02 lihuibng

191851 bytes fails

lihuibng avatar Feb 16 '21 04:02 lihuibng

Which OS and Architecture is it?

ismaell avatar Feb 16 '21 17:02 ismaell

Which OS and Architecture is it?

Darwin Macbook. 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; :xnu-7195.81.3~1/RELEASE_X86_64 x86_64

lihuibng avatar Feb 20 '21 13:02 lihuibng

It's a known issue on Mac OS X. There's complications fixing it because the platform provides a broken intmax_t among other things. I have no access to any XNU-based system at the moment, so I can't help much.

ismaell avatar Feb 22 '21 09:02 ismaell

In next version the configure script will bail out if it finds intmax_t is smaller than int64_t, that's all I can do for now but it isn't a solution.

ismaell avatar Feb 22 '21 09:02 ismaell

Hello,

dunno if it's related, but also in macOS, if I try to download a big file maybe >=~5GB and then I cut the downloading (ctrl+c or whatever), and then I restart it, it's downloading the 100% of the file, but that is the end, never finish it, so I have an "unclose" file and the output is something like "..............100%", my "workaround" is to delete both files (original and .st) and download the big file again at once.

gonzalo- avatar May 26 '21 11:05 gonzalo-

@gonzalo- yes, this would affect anything bigger than 4 GB.

ismaell avatar May 26 '21 13:05 ismaell

@ismaell cool thanks.

gonzalo- avatar May 26 '21 13:05 gonzalo-

Hello I also encountered the same problem. Although it hung, but i can see the file size is increasing. I am wondering if it is normal.

YangHai-1218 avatar Oct 07 '21 05:10 YangHai-1218

@YangHai-1218 it shouldn't happen, so no, it isn't "normal", but then again I'm unable to provide any sort of direct support for Mac OS X, because I don't have access to those systems.

I've tried PureDarwin on KVM/QEMU, but it didn't work for me (boots but hangs), and honestly I have no use for it besides testing software like Axel, so I will not put a lot of effort into it.

Ultimately all I can do is review and accept patches, as long as they are correct for other systems, and trust people that tell me they've tested said patches on Mac OS X and the issue is solved...

Maybe when PureDarwin matures a bit more I can try it again.

ismaell avatar Oct 11 '21 14:10 ismaell