Note:
These constants are available starting with PHP 7.0.0. 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
(integer)
POSIX_RLIMIT_CORE
(integer)
POSIX_RLIMIT_CPU
(integer)
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
(integer)
POSIX_RLIMIT_FSIZE
(integer)
POSIX_RLIMIT_LOCKS
(integer)
POSIX_RLIMIT_MEMLOCK
(integer)
POSIX_RLIMIT_MSGQUEUE
(integer)
POSIX_RLIMIT_NICE
(integer)
20 - limit
, as resource
limit values cannot be negative.
POSIX_RLIMIT_NOFILE
(integer)
POSIX_RLIMIT_NPROC
(integer)
POSIX_RLIMIT_RSS
(integer)
POSIX_RLIMIT_RTPRIO
(integer)
POSIX_RLIMIT_RTTIME
(integer)
POSIX_RLIMIT_SIGPENDING
(integer)
POSIX_RLIMIT_STACK
(integer)
POSIX_RLIMIT_INFINITY
(integer)