diff options
| -rw-r--r-- | man2/accept.2 | 2 | ||||
| -rw-r--r-- | man2/dup.2 | 4 | ||||
| -rw-r--r-- | man2/eventfd.2 | 2 | ||||
| -rw-r--r-- | man2/execve.2 | 2 | ||||
| -rw-r--r-- | man2/fcntl.2 | 3 | ||||
| -rw-r--r-- | man2/memfd_create.2 | 2 | ||||
| -rw-r--r-- | man2/open.2 | 2 | ||||
| -rw-r--r-- | man2/perf_event_open.2 | 6 | ||||
| -rw-r--r-- | man2/pipe.2 | 2 | ||||
| -rw-r--r-- | man2/signalfd.2 | 2 | ||||
| -rw-r--r-- | man2/socket.2 | 2 | ||||
| -rw-r--r-- | man2/socketpair.2 | 2 | ||||
| -rw-r--r-- | man2/spu_create.2 | 2 | ||||
| -rw-r--r-- | man2/timerfd_create.2 | 2 | ||||
| -rw-r--r-- | man3/getgrent.3 | 2 | ||||
| -rw-r--r-- | man3/getgrnam.3 | 4 | ||||
| -rw-r--r-- | man3/getlogin.3 | 2 | ||||
| -rw-r--r-- | man3/getpwent.3 | 4 | ||||
| -rw-r--r-- | man3/getpwnam.3 | 4 | ||||
| -rw-r--r-- | man3/mq_open.3 | 8 | ||||
| -rw-r--r-- | man3/opendir.3 | 2 | ||||
| -rw-r--r-- | man3/sem_open.3 | 2 | ||||
| -rw-r--r-- | man3/shm_open.3 | 2 | ||||
| -rw-r--r-- | man3/tmpfile.3 | 2 |
24 files changed, 33 insertions, 34 deletions
diff --git a/man2/accept.2 b/man2/accept.2 index cc613a7c81..2161606249 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -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. diff --git a/man2/dup.2 b/man2/dup.2 index 5b6819d9fd..23a3af8cf1 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -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)). diff --git a/man2/eventfd.2 b/man2/eventfd.2 index f43781a840..c289478070 100644 --- a/man2/eventfd.2 +++ b/man2/eventfd.2 @@ -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 diff --git a/man2/execve.2 b/man2/execve.2 index 8f4c6163c2..f72a26d7d3 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -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 diff --git a/man2/fcntl.2 b/man2/fcntl.2 index c3f7dc2bb2..9a9e97a39b 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -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 diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 index e661336103..df486518d7 100644 --- a/man2/memfd_create.2 +++ b/man2/memfd_create.2 @@ -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. diff --git a/man2/open.2 b/man2/open.2 index 0db89b56ae..345a2ac919 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -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 diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index f70acab14a..2874e1ac8f 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -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 diff --git a/man2/pipe.2 b/man2/pipe.2 index a5e7e529b7..72e36cc80a 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -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. diff --git a/man2/signalfd.2 b/man2/signalfd.2 index ba9f1a4f5c..11ffc80898 100644 --- a/man2/signalfd.2 +++ b/man2/signalfd.2 @@ -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 diff --git a/man2/socket.2 b/man2/socket.2 index f126f79533..96e5d0df55 100644 --- a/man2/socket.2 +++ b/man2/socket.2 @@ -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. diff --git a/man2/socketpair.2 b/man2/socketpair.2 index 81bf5c99ad..bd0a3c2c0b 100644 --- a/man2/socketpair.2 +++ b/man2/socketpair.2 @@ -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. diff --git a/man2/spu_create.2 b/man2/spu_create.2 index b73bf5b75f..4c6222f14e 100644 --- a/man2/spu_create.2 +++ b/man2/spu_create.2 @@ -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 diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index 459e4a06e2..c2bb1f69cd 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -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 diff --git a/man3/getgrent.3 b/man3/getgrent.3 index a87bd4b569..f373a90d93 100644 --- a/man3/getgrent.3 +++ b/man3/getgrent.3 @@ -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. diff --git a/man3/getgrnam.3 b/man3/getgrnam.3 index 175247c5a6..ae05be8f11 100644 --- a/man3/getgrnam.3 +++ b/man3/getgrnam.3 @@ -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. diff --git a/man3/getlogin.3 b/man3/getlogin.3 index 7bf02aca16..43b7fd2e66 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -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. diff --git a/man3/getpwent.3 b/man3/getpwent.3 index 688b0706ec..c91ea51995 100644 --- a/man3/getpwent.3 +++ b/man3/getpwent.3 @@ -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. diff --git a/man3/getpwnam.3 b/man3/getpwnam.3 index 4cae40411e..f8d92a43c3 100644 --- a/man3/getpwnam.3 +++ b/man3/getpwnam.3 @@ -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. diff --git a/man3/mq_open.3 b/man3/mq_open.3 index 55292c6039..c0fd6b9bac 100644 --- a/man3/mq_open.3 +++ b/man3/mq_open.3 @@ -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 diff --git a/man3/opendir.3 b/man3/opendir.3 index 2e797679e2..b314b08548 100644 --- a/man3/opendir.3 +++ b/man3/opendir.3 @@ -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. diff --git a/man3/sem_open.3 b/man3/sem_open.3 index 7d69807284..e2356240bc 100644 --- a/man3/sem_open.3 +++ b/man3/sem_open.3 @@ -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 diff --git a/man3/shm_open.3 b/man3/shm_open.3 index 6b04f398da..b7bd7e5dc6 100644 --- a/man3/shm_open.3 +++ b/man3/shm_open.3 @@ -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 diff --git a/man3/tmpfile.3 b/man3/tmpfile.3 index 0e99566687..f6ff714396 100644 --- a/man3/tmpfile.3 +++ b/man3/tmpfile.3 @@ -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. |
