nanog mailing list archives

RE: How to have open more than 65k concurrent connections?


From: Blake Pfankuch <bpfankuch () cpgreeley com>
Date: Thu, 14 Oct 2010 11:37:29 -0600

I believe the original poster was specifically requesting how to increase the File descriptor limits (ulimit -n) past 
65k.  This is where the limitation would come in most likely for connections he is talking about.  

As someone else said, probably not the best place for this, however you can look at /etc/security/limits.conf and play 
with soft and hard nofile limits.  Try unlimited maybe.

-----Original Message-----
From: Simon Perreault [mailto:simon.perreault () viagenie ca] 
Sent: Thursday, October 14, 2010 11:07 AM
To: nanog () nanog org
Subject: Re: How to have open more than 65k concurrent connections?

On 2010-10-14 12:53, Joel Jaeggli wrote:
you've only got 64511 ports per ip  on the box, to use for outgoing 
connections.

As long as you're not connecting to the same destination IP/port pair, the same source IP/port pair can be reused. So 
even for outgoing connections there is virtually no limit.

Simon
--
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org


Current thread: