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?
2) can we get it tweaked in the default sysctl.conf to be something more sane, e.g. 1024?
Regards, Joe
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.
- 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.
Dave
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.
- 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
kernel@lists.fedoraproject.org