Thanks - we already have this: * hard nofile 1024000 * soft nofile 1024000 * hard nproc 102400 * soft nproc 102400
And ulimit shows: open files (-n) 1024000 I am working on a PERL script to open thousands of connections to probe the real limits in various setups (i.e. without doing it on our production system). Please let me know if anyone knows of a good tool for this, just to open lots of TCP connections; I will probably run out of client connections first. Steve >-----Original Message----- >From: Reinis Rozitis [mailto:[EMAIL PROTECTED] >Sent: Monday, October 08, 2007 6:08 PM >To: [email protected] >Cc: Steve Mushero >Subject: Re: Memcached and maximum persistent connections > >First limits to check: > >1. Max Open files. It's in /etc/security/limits.conf (at least >on Suse) . We >put something like: > >* hard nofile 50000 >* soft nofile 50000 > >2. Available port range (kernel setting) net.ipv4.ip_local_port_range > >net.ipv4.ip_local_port_range = 1025 65535 > >
