Difference between revisions of "Prlimit"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} /etc/security/limits.conf")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
<code>prlimit</code> get and set process resource limits.
  
 +
* https://man7.org/linux/man-pages/man1/prlimit.1.html
 +
<pre>
 +
RESOURCE  DESCRIPTION                            SOFT      HARD UNITS
 +
AS        address space limit                unlimited unlimited bytes
 +
CORE      max core file size                        0        0 bytes
 +
CPU        CPU time                          unlimited unlimited seconds
 +
DATA      max data size                      unlimited unlimited bytes
 +
FSIZE      max file size                      unlimited unlimited bytes
 +
LOCKS      max number of file locks held      unlimited unlimited locks
 +
MEMLOCK    max locked-in-memory address space    65536    65536 bytes
 +
MSGQUEUE  max bytes in POSIX mqueues            819200    819200 bytes
 +
NICE      max nice prio allowed to raise            0        0
 +
NOFILE    max number of open files                1024    262144 files
 +
NPROC      max number of processes              123933    123933 processes
 +
RSS        max resident set size              unlimited unlimited bytes
 +
RTPRIO    max real-time priority                    0        0
 +
RTTIME    timeout for real-time tasks        unlimited unlimited microsecs
 +
SIGPENDING max number of pending signals        123933    123933 signals
 +
STACK      max stack size                      8388608 unlimited bytes
 +
</pre>
  
  
[[/etc/security/limits.conf]]
+
== Related ==
 +
* <code>[[/etc/security/limits.conf]]</code>
 +
* <code>[[/etc/sysctl.conf]]</code>
 +
 
 +
== See also ==
 +
* {{prlimit}}
 +
 
 +
[[Category:Linux]]

Latest revision as of 09:35, 8 September 2023

prlimit get and set process resource limits.

RESOURCE   DESCRIPTION                             SOFT      HARD UNITS
AS         address space limit                unlimited unlimited bytes
CORE       max core file size                         0         0 bytes
CPU        CPU time                           unlimited unlimited seconds
DATA       max data size                      unlimited unlimited bytes
FSIZE      max file size                      unlimited unlimited bytes
LOCKS      max number of file locks held      unlimited unlimited locks
MEMLOCK    max locked-in-memory address space     65536     65536 bytes
MSGQUEUE   max bytes in POSIX mqueues            819200    819200 bytes
NICE       max nice prio allowed to raise             0         0
NOFILE     max number of open files                1024    262144 files
NPROC      max number of processes               123933    123933 processes
RSS        max resident set size              unlimited unlimited bytes
RTPRIO     max real-time priority                     0         0
RTTIME     timeout for real-time tasks        unlimited unlimited microsecs
SIGPENDING max number of pending signals         123933    123933 signals
STACK      max stack size                       8388608 unlimited bytes


Related[edit]

See also[edit]

Advertising: