proc.5: Reaching /proc/sys/fs/file-max limit normally produces an ENFILE error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-27 17:05:07 +01:00
parent 4a5c6f9f2c
commit 40bbe387a5
1 changed files with 2 additions and 0 deletions

View File

@ -3404,6 +3404,8 @@ For further details, see
.I /proc/sys/fs/file-max
This file defines
a system-wide limit on the number of open files for all processes.
System calls that fail when encountering this limit fail with the error
.BR ENFILE .
(See also
.BR setrlimit (2),
which can be used by a process to set the per-process limit,