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

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

 



> Please try to open that many tcp connections between two IPs and tell me
> if it works! Finding out in which way our software opens the sockets 
> would be enough work for two persons for at least two days. It's old
> software we try to get running on a new system. Very (very very) old
> sources! ;)
> 
> Some guy told me that maybe iptables is the cause of this problem. You 
> think he's right? We have to verify that. May take a few days since the 
> collegue responsible for this isn't in the office right now. Just that 
> much about "it's urgent" (my team leader's definition). *laugh*
> 
> Thanks for your interest in this problem. I'll keep you up to date.


the number 350 rings another bell: if your software uses one thread per
connection, and uses the default stack size (which is 8 to 10Mb on
modern linux/glibc) you'll run out of 32 bit virtual address space
around 350. If that's the case you probably really want to tell the
pthreads library that you know what you are doing and that you want a
smaller stack size please ;)

-- 
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