[CentOS] file size limit in apache 2.0 on centos 4

Aleksandar Milivojevic alex at milivojevic.org
Sat Oct 21 02:10:18 UTC 2006


Brett Serkez wrote:
>> can someone confirm that there is a 4GB limit (or other) in the
>> standard apache 2.0 on CentOS 4?
> 
> The file size limitation is in the file system type, ext3 is the
> default on CentOS.  There are other file system types that can be used
> in a partitiion, such as reiser, jfs, xfs, each with their own
> attributes.

No, the file system has nothing to do with it.  You can have files way 
larger than 4GB on ext3.

The reason for 2GB limit in Apache is historical, and is based on sizes 
of data types in C programming language on 32-bit platforms, taking into 
account that too many applications use signed integer for storing the 
file size.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20061020/7631ed46/attachment.sig>


More information about the CentOS mailing list