1748108 Members
5015 Online
108758 Solutions
New Discussion юеВ

max file size

 
laissi
New Member

max file size

When I check ulimit -a, I have this output :
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 990000
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

I want to ask which parameter kernel limits the size of file?

Thanks and best regards
Ilham
4 REPLIES 4
Cheryl Griffin
Honored Contributor

Re: max file size

The file size is set with "ulimit -f unlimited" (or 4194303 or 4194304) which is normally set in the global (/etc/profile) or in the profile ($HOME/.profile) for the user.
"Downtime is a Crime."
laissi
New Member

Re: max file size

Thank you for your response but I still ask if ther is a kernel parameter related to max file size because for example for data(kbytes), the parameter wich limits the size of data is maxdsiz

Thanks and best regards
Scott McIntosh_2
Honored Contributor

Re: max file size

No, file size limit is a factor of the file system, not the kernel. 2GB for file systems without the large files option set, 2TB or something like that for those with. Actually, I don't think 2TB is a coded limit, but a support limit (ie, don't call us with problems about not being able to move a 4TB file, etc.).

Thanks,
Scott
HP Support
laissi
New Member

Re: max file size

thank you very much