mirror of https://github.com/mkerrisk/man-pages
fork.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
91551f1099
commit
bf54cc8653
14
man2/fork.2
14
man2/fork.2
|
@ -212,23 +212,31 @@ is set appropriately.
|
|||
.B EAGAIN
|
||||
.\" NOTE! The following should match the description in pthread_create(3)
|
||||
A system-imposed limit on the number of threads was encountered.
|
||||
There are a number of limits that may trigger this error: the
|
||||
There are a number of limits that may trigger this error:
|
||||
.RS
|
||||
.IP * 3
|
||||
the
|
||||
.BR RLIMIT_NPROC
|
||||
soft resource limit (set via
|
||||
.BR setrlimit (2)),
|
||||
which limits the number of processes and threads for a real user ID,
|
||||
was reached;
|
||||
.IP *
|
||||
the kernel's system-wide limit on the number of processes and threads,
|
||||
.IR /proc/sys/kernel/threads-max ,
|
||||
was reached (see
|
||||
.BR proc (5));
|
||||
.IP *
|
||||
the maximum number of PIDs,
|
||||
.IR /proc/sys/kernel/pid_max ,
|
||||
was reached (see
|
||||
.BR proc (5));
|
||||
or the PID limit
|
||||
.RB ( pids.max )
|
||||
or
|
||||
.IP *
|
||||
the PID limit
|
||||
.RI ( pids.max )
|
||||
imposed by the cgroup "process number" (PIDs) controller was reached.
|
||||
.RE
|
||||
.TP
|
||||
.B EAGAIN
|
||||
The caller is operating under the
|
||||
|
|
Loading…
Reference in New Issue