]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
epoll_create.2: HISTORYise "max_user_instances" EMFILE
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sun, 16 Jul 2023 11:45:48 +0000 (13:45 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 16 Jul 2023 14:51:30 +0000 (16:51 +0200)
/proc/sys/fs/epoll/max_user_instances hasn't existed since
  commit 9df04e1f25effde823a600e755b51475d438f56b
  ("epoll: drop max_user_instances and rely only on max_user_watches")
from
  Date:   Thu Jan 29 14:25:26 2009 -0800
which describes to v2.6.29-rc3-24-g9df04e1f25ef.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/epoll_create.2

index 4d3566a791a2bef380c925db823d1d95e34a7cb1..2a21bbf8b6db73981674ba15434839ad4115e0f3 100644 (file)
@@ -83,14 +83,6 @@ Invalid value specified in
 .IR flags .
 .TP
 .B EMFILE
-The per-user limit on the number of epoll instances imposed by
-.I /proc/sys/fs/epoll/max_user_instances
-was encountered.
-See
-.BR epoll (7)
-for further details.
-.TP
-.B EMFILE
 The per-process limit on the number of open file descriptors has been reached.
 .TP
 .B ENFILE
@@ -134,6 +126,17 @@ must still be greater than zero,
 in order to ensure backward compatibility when new
 .B epoll
 applications are run on older kernels.
+.PP
+Prior to Linux 2.6.29,
+.\" commit 9df04e1f25effde823a600e755b51475d438f56b
+a
+.I /proc/sys/fs/epoll/max_user_instances
+kernel parameter limited live epolls for each real user ID,
+and caused
+.BR epoll_create ()
+to fail with
+.B EMFILE
+on overrun.
 .SH SEE ALSO
 .BR close (2),
 .BR epoll_ctl (2),