mirror of https://github.com/mkerrisk/man-pages
getrlimit.2: Resource limits are process-wide attributes shared by all threads
This was already noted in pthreads(7), but bears repeating here. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4641c596b3
commit
b79b66d119
|
@ -599,6 +599,9 @@ inherits its parent's resource limits.
|
||||||
Resource limits are preserved across
|
Resource limits are preserved across
|
||||||
.BR execve (2).
|
.BR execve (2).
|
||||||
.PP
|
.PP
|
||||||
|
Resource limits are per-process attributes that are shared
|
||||||
|
by all of the threads in a process.
|
||||||
|
.PP
|
||||||
Lowering the soft limit for a resource below the process's
|
Lowering the soft limit for a resource below the process's
|
||||||
current consumption of that resource will succeed
|
current consumption of that resource will succeed
|
||||||
(but will prevent the process from further increasing
|
(but will prevent the process from further increasing
|
||||||
|
|
Loading…
Reference in New Issue