Available resource limits

The following table enumerates the available resource limits on a typical Linux system (alphabetically ordered by the ulimit option switch column):

Resource limit ulimit option switch Default value Unit
max core file size -c unlimited KB
max data segment size -d unlimited KB
max scheduling priority (nice) -e 0 Unscaled
max file size -f unlimited KB
max (real-time) pending signals -i <varies> Unscaled
max locked memory -l <varies> KB
max memory size -m unlimited KB
max open files -n 1024 Unscaled
max pipe size -p 8 512-byte increments
max POSIX message queues -q <varies> Unscaled
max real-time scheduling priority -r 0 Unscaled
max stack segment size -s 8192 KB
max CPU time -t unlimited ...

Get Hands-On System Programming with Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.