Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful

2009-01-08 Thread Joe Orton
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


/proc/sys/fs/epoll/max_user_instances=128 considered harmful

2009-01-07 Thread Joe Orton
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


Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful

2009-01-07 Thread Dave Jones
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