[NTLUG:Discuss] File Size Limits

David Camm dcamm at advwebsys.com
Wed Nov 19 18:06:10 CST 2003


absolutely correct! i discovered this to my chagrin about two weeks ago. altho 
the log files for this server were on a reiser file system, apache (at least 1.3 
- i can't speak to apache 2.0) decided to quit logging at the magic 2G number.
thank goodness it didn't decide to shut itself down!

luckily, i only lost a day's worth of log data for this customer. but talk about 
a 'gotcha'!!!!!

david camm
president
advanced web systems
keller, tx
www.advwebsys.com


Jack Snodgrass wrote:
> On Wed, 2003-11-19 at 17:01, NTLUG wrote:
> 
>>IIRC the 2GB limit was due to ext2 file systems.  Most linux distros use
>>ext3 as the default and it doesn't have the limitation.
>>
> 
> 
> some apps like apache will only work with less-than-2gb files. If your
> apache log 
> files go over 2Gig the apache server will crash or stop logging... can't
> remember 
> which.... so ever if the OS does large files... the apps might not. 
> 
> jack
> 
> 
> 
> 
>>On Wed, 2003-11-19 at 16:26, Chris Cox wrote:
>>
>>>Kenneth Loafman wrote:
>>>
>>>>Has the 2GB file size limit been broken under Linux yet?
>>>>
>>>>If so, does it need a special kernel gen to get there?
>>>>
>>>>I'm thinking that it hasn't because size_t is still typedef'ed to an int 
>>>>in many places, and that's 32-bit until we go to 64-bit processors.
>>>>
>>>
>>>Uhhh... yep.. broke through this quite some time ago....
>>># ls -lh
>>>total 24G
>>>drwxr-xr-x    4 root     root          256 Nov 14 13:50 .
>>>drwxr-xr-x   25 root     root          600 Nov  3 16:32 ..
>>>-rw-r--r--    1 root     root          84M Jul 16 10:05 9_Recommended.zip
>>>-rw-r--r--    1 root     root         9.8G Sep  2 13:21 celap5-suse82-30G-cjc.img
>>>-rw-r--r--    1 root     root         8.1G Sep 24 16:53 celap7-suse82-30G-cjc.img
>>>-rw-r--r--    1 root     users        5.3G Jul 24 12:46 rh90-n610c.img.gz
>>>
>>>I know I've created larger files... just an example.
>>>
>>>This is from a SuSE 8.2 box with a 1.7TB RAID 5 using
>>>reiserfs out of the box.... no mods necessary with SuSE anyway.
>>>
>>>Samba has a "come and go" issue with 32bit limits... you'll need
>>>to have both the latest samba 2.2.8a+ and the latest kernel smbfs patches
>>>for it to understand more than 2G (there are other versions of
>>>Samba where it worked... it's just one of those things that
>>>comes and goes).
>>>
>>>I'm working on getting our 1st 4TB RAID setup and working.  It's
>>>split across two SuSE boxen (they can see each others stuff
>>>when needed... sort of a cheap man's SAN).
>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>https://ntlug.org/mailman/listinfo/discuss
>>
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list