accept.2, dup.2, eventfd.2, execve.2, fcntl.2, memfd_create.2, open.2, perf_event_open.2, pipe.2, signalfd.2, socket.2, socketpair.2, spu_create.2, timerfd_create.2, getgrent.3, getgrnam.3, getlogin.3, getpwent.3, getpwnam.3, mq_open.3, opendir.3, sem_open.3, shm_open.3, tmpfile.3: ERRORS: standardize text for EMFILE error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-27 16:35:01 +01:00
parent 78d8b29eb5
commit 26c32fabec
24 changed files with 33 additions and 34 deletions

View File

@ -249,7 +249,7 @@ invalid value in
.IR flags .
.TP
.B EMFILE
The per-process limit of open file descriptors has been reached.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system limit on the total number of open files has been reached.

View File

@ -197,8 +197,8 @@ was equal to
.IR newfd .
.TP
.B EMFILE
The process already has the maximum number of file
descriptors open and tried to open a new one (see the discussion of
The per-process limit on the number of open file descriptors has been reached
(see the discussion of
.BR RLIMIT_NOFILE
in
.BR getrlimit (2)).

View File

@ -233,7 +233,7 @@ An unsupported value was specified in
.IR flags .
.TP
.B EMFILE
The per-process limit on open file descriptors has been reached.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system-wide limit on the total number of open files has been

View File

@ -426,7 +426,7 @@ Too many symbolic links were encountered in resolving
or the name of a script or ELF interpreter.
.TP
.B EMFILE
The process has the maximum number of files open.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENAMETOOLONG
.I filename

View File

@ -1629,7 +1629,8 @@ was not specified as zero.
.I cmd
is
.BR F_DUPFD
and the process already has the maximum number of file descriptors open.
and the per-process limit on the number of open file descriptors
has been reached.
.TP
.B ENOLCK
Too many segment locks open, lock table is full, or a remote locking

View File

@ -145,7 +145,7 @@ included unknown bits, or
was too long.
.TP
.B EMFILE
The per-process limit on open file descriptors has been reached.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system-wide limit on the total number of open files has been reached.

View File

@ -913,7 +913,7 @@ but not
.BR O_PATH .
.TP
.B EMFILE
The process already has the maximum number of files open
The per-process limit on the number of open file descriptors has been reached
(see the description of
.BR RLIMIT_NOFILE
in

View File

@ -2956,9 +2956,9 @@ there is not enough room to add the selected event.
.TP
.B EMFILE
Each opened event uses one file descriptor.
If a large number of events are opened the per-user file
descriptor limit (often 1024) will be hit and no more
events can be created.
If a large number of events are opened,
the per-process limit on the number of open file descriptors will be reached,
and no more events can be created.
.TP
.B ENODEV
Returned when the event involves a feature not supported

View File

@ -147,7 +147,7 @@ Invalid value in
.IR flags .
.TP
.B EMFILE
Too many file descriptors are in use by the process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system limit on the total number of open files has been reached.

View File

@ -294,7 +294,7 @@ or, in Linux 2.6.26 or earlier,
is nonzero.
.TP
.B EMFILE
The per-process limit of open file descriptors has been reached.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system-wide limit on the total number of open files has been

View File

@ -335,7 +335,7 @@ Invalid flags in
.IR type .
.TP
.B EMFILE
Process file table overflow.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system limit on the total number of open files has been reached.

View File

@ -82,7 +82,7 @@ The address
does not specify a valid part of the process address space.
.TP
.B EMFILE
Too many descriptors are in use by this process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system limit on the total number of open files has been reached.

View File

@ -195,7 +195,7 @@ Too many symbolic links were found while resolving
.IR pathname .
.TP
.B EMFILE
The process has reached its maximum open files limit.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENAMETOOLONG
.I pathname

View File

@ -344,7 +344,7 @@ or, in Linux 2.6.26 or earlier,
is nonzero.
.TP
.B EMFILE
The per-process limit of open file descriptors has been reached.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system-wide limit on the total number of open files has been

View File

@ -141,7 +141,7 @@ A signal was caught.
I/O error.
.TP
.B EMFILE
The calling process already has too many open files.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
Too many open files in the system.

View File

@ -188,9 +188,7 @@ A signal was caught.
I/O error.
.TP
.B EMFILE
The maximum number
.RB ( OPEN_MAX )
of files was open already in the calling process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The maximum number of files was open already in the system.

View File

@ -104,7 +104,7 @@ returns 0 when successful, and nonzero on failure.
POSIX specifies
.TP
.B EMFILE
The calling process already has the maximum allowed number of open files.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The system already has the maximum allowed number of open files.

View File

@ -131,9 +131,7 @@ A signal was caught.
I/O error.
.TP
.B EMFILE
The maximum number
.RB ( OPEN_MAX )
of files was open already in the calling process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The maximum number of files was open already in the system.

View File

@ -194,9 +194,7 @@ A signal was caught.
I/O error.
.TP
.B EMFILE
The maximum number
.RB ( OPEN_MAX )
of files was open already in the calling process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
The maximum number of files was open already in the system.

View File

@ -207,8 +207,12 @@ limit.
for details of these limits.)
.TP
.B EMFILE
The process already has the maximum number of files and
message queues open.
The per-process limit on the number of open file
and message queue descriptors has been reached
(see the description of
.BR RLIMIT_NOFILE
in
.BR getrlimit (2)).
.TP
.B ENAMETOOLONG
.I name

View File

@ -99,7 +99,7 @@ Permission denied.
is not a valid file descriptor opened for reading.
.TP
.B EMFILE
Too many file descriptors in use by process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
Too many files are currently open in the system.

View File

@ -140,7 +140,7 @@ was greater than
consists of just "/", followed by no other characters.
.TP
.B EMFILE
The process already has the maximum number of files and open.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENAMETOOLONG
.I name

View File

@ -219,7 +219,7 @@ argument to
was invalid.
.TP
.B EMFILE
The process already has the maximum number of files open.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENAMETOOLONG
The length of

View File

@ -65,7 +65,7 @@ Unable to generate a unique filename.
The call was interrupted by a signal.
.TP
.B EMFILE
Too many file descriptors in use by the process.
The per-process limit on the number of open file descriptors has been reached.
.TP
.B ENFILE
Too many files open in the system.