Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

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

  • From: Blake Pfankuch
  • Date: Thu Oct 14 13:39:26 2010

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




Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.