nanog mailing list archives
Re: How to have open more than 65k concurrent connections?
From: Phil Regnauld <regnauld () nsrc org>
Date: Thu, 14 Oct 2010 18:41:10 +0200
Jorge Amodio (jmamodio) writes:
you have only 16-bits for port numbers.
65k port numbers != number of connections. The number of open connections (if we're talking TCP) is limited by the number of max file descriptors in the kernel (fs.file_max). See also: http://www.network-builders.com/maximum-simultaneous-network-connections-t56317.html You could have hundreds of thousands of connections to the same (destination IP, destination port). In practice, there are other limitations: http://www.kegel.com/c10k.html is good reading, even though it is a few years old.
Current thread:
- How to have open more than 65k concurrent connections? johndole (Oct 14)
- Re: How to have open more than 65k concurrent connections? Jorge Amodio (Oct 14)
- Re: How to have open more than 65k concurrent connections? Phil Regnauld (Oct 14)
- Re: How to have open more than 65k concurrent connections? D'Arcy J.M. Cain (Oct 14)
- Re: How to have open more than 65k concurrent connections? Greg Whynott (Oct 14)
- Re: How to have open more than 65k concurrent connections? Ingo Flaschberger (Oct 14)
- Re: How to have open more than 65k concurrent connections? D'Arcy J.M. Cain (Oct 14)
- Re: How to have open more than 65k concurrent connections? Jorge Amodio (Oct 14)
- Re: How to have open more than 65k concurrent connections? Mikael Abrahamsson (Oct 14)
- Re: How to have open more than 65k concurrent connections? Joel Jaeggli (Oct 14)
- Re: How to have open more than 65k concurrent connections? Simon Perreault (Oct 14)
- Re: How to have open more than 65k concurrent connections? Wayne Lee (Oct 14)
- RE: How to have open more than 65k concurrent connections? Blake Pfankuch (Oct 14)
- Re: How to have open more than 65k concurrent connections? Simon Perreault (Oct 14)
- Re: How to have open more than 65k concurrent connections? Simon Lyall (Oct 14)