Welcome to the Kuwait Linux User Group, thats dedicated to talk about Linux, BSD, and the use of open source specially for Kuwait community & others as well -- beside encouraging them to use it.
Follow Us:

October 12, 2004 11:29 AM EDT


Author: . 4362 Reads
  Print this page   Export to PDF format   Mail to a friend

The limits file (/etc/limits by default or LIMITS_FILE defined config.h) describes the resource limits you wish to impose. It should
be owned by root and readable by root account only.
limit file can be found on /etc/limits.

A: max address space (KB)
C: max core file size (KB)
D: max data size (KB)
F: maximum filesize (KB)
M: max locked-in-memory address space (KB)
N: max number of open files
R: max resident set size (KB)
S: max stack size (KB)
T: max CPU time (MIN)
U: max number of processes
K: file creation mask, set by umask(2).
L: max number of logins for this user
P: process priority, set by setpriority(2).

For example, L2D2048N5 is a valid LIMITS_STRING. For reading convenience, the following entries are equivalent:

username L2D2048N5
username L2 D2048 N5

# limits size of any one of users' files" /etc/security/limits.conf
* hard 40000

* = all users
also see ulimit


Copyright © by Q8linux
All rights reserved.

Category: howto
Tags: None
Bookmark: Share/Save/Bookmark

[ Go Back ]
Content ©


What's your Favorite Mail Server(smtp)?

Lotus Notes


Votes: 102
Comments: 69

Old Articles