Re: AW: Still much more than 350 sockets needed!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. > > > > > > Thanks a lot!!! > > > > > > regards,
 > > > H. Wiese
> > > > > > > My /proc/net/sockstat says that i have 541 used sockets on a standard > > laptop??? > > > > could you a simplified version of the code to create all these sockets > > > the way you do it? > > > > That would allow perhaps more people to understand the problem/see for > > > themselves. > > > > /Thomas > > 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.

Andrew.


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

/Thomas

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux