/proc/sys/fs/epoll/max_user_instances=128 considered harmful
Joe Orton
jorton at redhat.com
Thu Jan 8 10:47:21 UTC 2009
On Wed, Jan 07, 2009 at 05:01:22PM -0500, Dave Jones wrote:
> On Wed, Jan 07, 2009 at 03:18:12PM +0000, Joe Orton wrote:
> > The F10 kernel has /proc/sys/fs/epoll/max_user_instances set to 128 by
> > default. Apache httpd uses one epoll fd ("instance") per child process,
> > so this sets a hard limit on 128 children (i.e. 100 concurrent clients)
> > out of the box.
> >
> > 1) shouldn't this be an rlimit so that we can bump it appropriately in
> > the parent as root?
>
> possibly. It's a question better asked on linux-kernel really.
>
> This does sound like a better change to me than forcing the sysctl change
> on everyone.
Well, it's effectively a regression as-is. Any chance someone from the
kernel team can chase this upstream?
Regards, Joe
More information about the kernel
mailing list