blob: d39f2d54414daf9a3fd19f3a60fbe96fa00d903e [file] [log] [blame]
xf.li86118912025-03-19 20:07:27 -07001# /etc/limits contains user resource limits.
2# See limits(5).
3#
4# Format:
5# <username> <limits-string>
6#
7# default entry is '*' for username
8#
9# Valid flags are:
10# A: max address space (KB)
11# C: max core file size (KB)
12# D: max data size (KB)
13# F: maximum filesize (KB)
14# M: max locked-in-memory address space (KB) [only for root on Linux 2.0.x]
15# N: max number of open files
16# R: max resident set size (KB) [no effect on Linux 2.0.x]
17# S: max stack size (KB)
18# T: max CPU time (MIN)
19# U: max number of processes
20# L: max number of logins for this user
21# I: max nice value (0..39 translates to 20..-19)
22# O: max real time priority (0..MAX_RT_PRIO)
23#
24# Examples:
25# the default entry
26#* L2 D6144 R2048 S2048 U32 N32 F16384 T5 C0 I20 O0
27# another way of suspending a user login
28#guest L0
29# this account has no limits
30#sysadm -