Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful
Hi, I'm chasing this up on the kernel mailing list now. We hit exactly the same issue on a production Postfix machine, which also uses epoll in this way. I've taken your suggestions of 1024 as a good point - I've also seen that value suggested elsewhere on the internet, so that sounds reasonable. We've set 4096 in /etc/sysctl.conf to be certain we're OK! Bron. ___ Fedora-kernel-list mailing list Fedora-kernel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-kernel-list
Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful
On Wed, Jan 07, 2009 at 05:01:22PM -0500, Dave Jones wrote: > On Wed, Jan 07, 2009 at 03:18:12PM +, 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 ___ Fedora-kernel-list mailing list Fedora-kernel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-kernel-list
Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful
On Wed, Jan 07, 2009 at 03:18:12PM +, 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. Dave -- http://www.codemonkey.org.uk ___ Fedora-kernel-list mailing list Fedora-kernel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-kernel-list
/proc/sys/fs/epoll/max_user_instances=128 considered harmful
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 ___ Fedora-kernel-list mailing list Fedora-kernel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-kernel-list