Apache can't handle files over 2GB

RoboticGolem roboticgolem at gmail.com
Mon Jan 10 02:54:57 UTC 2005


On Tue, 04 Jan 2005 14:56:01 +0900, Naoki <naoki at valuecommerce.com> wrote:
> 
> I downloaded the apache 2.0.52 src rpm (the FC3 one) and was going to
> add  "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to the spec file.
> But I read the changelog and found this :
> 
> Changes with Apache 2.0.49
> 
>  *) core.c: If large file support is enabled, allow any file that is
>      greater than AP_MAX_SENDFILE to be split into multiple buckets.
>      This allows Apache to send files that are greater than 2gig.
>      Otherwise we run into 32/64 bit type mismatches in the file size.
>      [Brad Nicholes]
> 
> However when I test it the file doesn't show up in a directory listing
> and any attempt to access the file gives me this :
> 
> (75)Value too large for defined data type: access to /FC3-i386-DVD.iso
> failed
> 
> So am I not interpreting the changelog correctly?
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
Does the ext3 fs have a 2gig limit to begin with?  Least whenever I
try and record an avi longer than 2 gig it craps out.  I'd just assume
use xfs for places where you need files larger than 2 gig.

-Matt




More information about the fedora-list mailing list