System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

What is diff between "file size" and "data size" while setting up limits in linux

 
senthil_kumar_1
Super Advisor

What is diff between "file size" and "data size" while setting up limits in linux

Hi All,

What is diff between "file size" and "data size" while setting up limits in linux.

And how to set unlimited access to particular items...


2 REPLIES
Dennis Handly
Acclaimed Contributor

Re: What is diff between "file size" and "data size" while setting up limits in linux

"file size" means what it says. You can't write a file beyond that limit.

"data size" deals with memory/swap.
Alzhy
Honored Contributor

Re: What is diff between "file size" and "data size" while setting up limits in linux

datasize pertains to "ulimit -d" (data segsize) value. Notean executable can have 3 memory areas - text, stack and data. The latter is what this refers to.

file size of course is what it says but I don't think it is set in limits.conf but rather in the user's quota...
Hakuna Matata.