Note:
Please note that some of them may not be available on your system.
Note:
You may wish to read the below notes in conjunction with the manpage for setrlimit() on your specific operating system, as there is variance in how these limits are interpreted, even across operating systems that claim to implement POSIX in full.
POSIX_RLIMIT_AS
(int)
POSIX_RLIMIT_CORE
(int)
POSIX_RLIMIT_CPU
(int)
SIGXCPU
signal will be
sent, which can be caught with pcntl_signal().
Depending on the operating system, additional SIGXCPU
signals may be sent each second until the hard limit is hit, at which
point an uncatchable SIGKILL
signal is sent.
See also set_time_limit().
POSIX_RLIMIT_DATA
(int)
POSIX_RLIMIT_FSIZE
(int)
POSIX_RLIMIT_LOCKS
(int)
POSIX_RLIMIT_MEMLOCK
(int)
POSIX_RLIMIT_MSGQUEUE
(int)
POSIX_RLIMIT_NICE
(int)
20 - limit
, as resource
limit values cannot be negative.
POSIX_RLIMIT_NOFILE
(int)
POSIX_RLIMIT_NPROC
(int)
POSIX_RLIMIT_RSS
(int)
POSIX_RLIMIT_RTPRIO
(int)
POSIX_RLIMIT_RTTIME
(int)
POSIX_RLIMIT_SIGPENDING
(int)
POSIX_RLIMIT_STACK
(int)
POSIX_RLIMIT_INFINITY
(int)
POSIX_RLIMIT_KQUEUES
(int)
POSIX_RLIMIT_NPTS
(int)