LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2011, 09:09 AM   #1
niaz_ph
LQ Newbie
 
Registered: Nov 2009
Posts: 27

Rep: Reputation: 0
regardig /etc/security/limits.conf


Hi,

I have a question with which i am really confused. In /etc/security/limits.conf , there are many parameters that i can set. But among them 'data' and 'fsize' are also two parameters which i cannot differentiate.

What is the difference between 'data' and 'fsize'..???
 
Old 10-20-2011, 09:58 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Code:
      RLIMIT_DATA
              The  maximum  size  of  the  process's data segment (initialized data, uninitialized data, and heap).  This limit affects
              calls to brk(2) and sbrk(2), which fail with the error ENOMEM upon encountering the soft limit of this resource.

       RLIMIT_FSIZE
              The maximum size of files that the process may create.  Attempts to extend a file beyond this limit result in delivery of
              a  SIGXFSZ  signal.   By default, this signal terminates a process, but a process can catch this signal instead, in which
              case the relevant system call (e.g., write(2), truncate(2)) fails with the error EFBIG.
from 'man setrlimit'

found via Google
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /etc/security/limits.conf and nice Mr. Alex Linux - Newbie 4 02-19-2011 04:44 PM
ulimit and /etc/security/limits.conf chakkerz Linux - General 2 01-23-2011 01:42 AM
etc/security/limits.conf - what does it do? Ken_1969 Red Hat 5 03-14-2010 04:25 PM
/etc/security/limits.conf reverse Linux - Security 4 10-20-2007 03:10 PM
/etc/security/limits.conf documentation? crazyeddie740 Linux - Security 1 06-19-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration