Hi, On 2023-07-08 21:56, наб wrote: > /proc/sys/fs/epoll/max_user_instances hasn't existed since 2009. > > Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> > --- > I blindly copied the tag and didn't check, but even if I did, > 'Linux v[0-9]' does return results, so I wouldn't've been dissuaded. Meh, I still haven't managed to kill those. Feel free to fix them if you want, or if you meet them while doing one of your patches. ;) > > man2/epoll_create.2 | 22 ++++++++++++++-------- > 1 file changed, 14 insertions(+), 8 deletions(-) > > diff --git a/man2/epoll_create.2 b/man2/epoll_create.2 > index 4d3566a79..b51f5051e 100644 > --- a/man2/epoll_create.2 > +++ b/man2/epoll_create.2 > @@ -83,14 +83,6 @@ .SH ERRORS > .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,20 @@ .SH HISTORY > 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 > +.\" ("epoll: drop max_user_instances and rely only on max_user_watches") > +.\" Date: Thu Jan 29 14:25:26 2009 -0800 > +.\" v2.6.29-rc3-24-g9df04e1f25ef I prefer minimal source code comments. Please keep only the commit 9f... line. The rest should go in the commit message. Thanks, Alex > +a > +.I /proc/sys/fs/epoll/max_user_instances > +sysctl 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), -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature