AW: Still much more than 350 sockets needed!

Andrew Haley aph at redhat.com
Wed Apr 26 18:56:22 UTC 2006


Thomas M Steenholdt writes:
 > Andrew Haley wrote:
 > > Wiese, Hendrik writes:
 > >  > > 
 > >  > > > Hello again,
 > >  > > >  
 > >  > > > we still need to know how to increase the maximum number of
 > >  > > > possible open sockets per IP address! Here we got the problem
 > >  > > > that no more than 350 sockets are possible. On another Linux
 > >  > > > (based on LFS) it is no problem to open far more than 5.000
 > >  > > > connections on the same way. So we know that it is possible.
 > >  > > > So how can we break this limitation? Some kind of sysctl?
 > >  > > > Kernel patch needed? Anything else?
 > >  > > >  
 > >  > > > It's urgent, so any kind of help would be greatly appreciated.
 > >  > 
 > >  > Please try to open that many tcp connections between two IPs and tell me
 > >  > if it works!
 > > 
 > > Try it yourself.  I reckon you'll run out of file descriptors before
 > > you hit a socket limit.  To do any more you'll have to fork() in the
 > > server and client.
 > 
 > Well...
 > 
 > I get way past 350 with these two test processes...
 > Got to 1020, then the process bailed with :
 > No socket: Too many open files

So, there you go.  Whoever said that no more than 350 sockets are
possible was mistaken.  :-)

Andrew.




More information about the fedora-devel-list mailing list