Resource1 |
The Resource1 parameter can be one of the following
values: - RLIMIT_AS
- The maximum size of a process's total available memory, in bytes.
This limit is not enforced.
- RLIMIT_CORE
- The largest size, in bytes, of a core file that can be created.
This limit is enforced by the kernel. If the value of the RLIMIT_FSIZE
limit is less than the value of the RLIMIT_CORE limit, the system
uses the RLIMIT_FSIZE limit value as the soft limit.
- RLIMIT_CPU
- The maximum amount of central processing unit (CPU) time, in seconds,
to be used by each process. If a process exceeds its soft CPU limit,
the kernel sends a SIGXCPU signal to the process. After the hard limit
is reached, the process is killed with SIGXCPU, even if it handles,
blocks, or ignores that signal.
- RLIMIT_DATA
- The maximum size, in bytes, of the data region for a process.
This limit defines how far a program can extend its break value with
the sbrk subroutine. This limit is enforced by the kernel.
- RLIMIT_FSIZE
- The largest size, in bytes, of any single file that can be created.
When a process attempts to write, truncate, or clear beyond its soft
RLIMIT_FSIZE limit, the operation fails with the errno variable
set to EFBIG. If the environment variable XPG_SUS_ENV=ON is set in
the user's environment before the process is issued, then the SIGXFSZ
signal is also generated.
- RLIMIT_NOFILE
- This is a number one greater than the maximum value that the system
can assign to a newly-created descriptor.
- RLIMIT_STACK
- The maximum size, in bytes, of the stack region for a process.
This limit defines how far a program stack region can be extended.
The system automatically performs stack extension. This limit is enforced
by the kernel. When the stack limit is reached, the process receives
a SIGSEGV signal. If this signal is not caught by a handler using
the signal stack, the signal ends the process.
- RLIMIT_RSS
- The maximum size, in bytes, to which the resident set size of
a process can grow. This limit is not enforced by the kernel. A process
might exceed its soft limit size without being ended.
|
RLP |
Points to the rlimit64 structure where the requested
limits are returned by the kgetrlimit64 kernel service. |