Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix AIX max file sizes

Status
Not open for further replies.

liwenkuo

Programmer
Oct 18, 2001
9
US
Hello all,

I am currently running into problems where Unix is not able to open a file larger than 3Gb. I just need to know if there is a physical limit imposed by the OS (what is it), or is there a setting somewhere, or is the limit dynamic and based on available memory (ram and free swap space), or some other reason.

Your help is appreciated.
Li
 
Are you opening it input or output ?

If it is output, check your limit in /etc/security/limits for that user. Also, be sure there is at least as much free space as the "allocation group" is for that filesystem. Finally, is the file already larger than 2GB ? If not, than your filesystem is not "Large File Enabled".

Bill.
 
Thanks Bill,

I will check into what you wrote.
I am using the file (currently 3Gb) for input (read) and eventual move once the read is complete. Do you have anything else based on this?.

This really helps, cheers
Li
 
If you get a XXXX-YYYY eror code, send it (for example "0517-0883"

Bill.
 
Hi Bill,

Great, all the stuff checks out. It turns out that Java on Unix AIX has a file size limitation. It is weird that Java1.2.X would impose such a limitation. So I am now using 'split' before reading/processing the files.

Thanks Bill,
Li
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top