xf.li | 8611891 | 2025-03-19 20:07:27 -0700 | [diff] [blame^] | 1 | # /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 - |