httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] 4GB File size limit
Date Sat, 01 Jan 2005 09:07:39 GMT

I need to be able to download files of size > 4GB from a machine running apache.
I would prefer it be apache, but 2.0.52 is fine if the former is not
possible. The other machines are connected on a LAN. Here's what I've done so far:

Compiled on Fedora 3 with -DLARGE_FILES_SOURCE -DFILE_OFFSET_BITS=64
options. Installed, ran, and was able to pass the 2GB file size limit, but not
the 4GB one. When trying to download a file > 4GB, it would just download the
portion greater than 4GB. For example, if the file was 4.2GB, when I did the
download, it would just transfer 0.2GB.

Compiled 2.0.52 on windows. Added some print statements to print the size of
apr_off_t and it was of size 8, which means that large files should
theoretically be supported. However, when I installed and ran apache, I again
got the truncated file problem.

I have also searched the list archives high and low and have not found an answer
to this. Is there any way that apache, either or 2.0.52, can support
file sizes of > 4GB? Thanks.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message