On Tue, Jul 24, 2007 at 08:48:40PM +0200, Torsten Foertsch wrote:
> Please forgive me the stupid question but I thought a port number is a 16 bit 
> integer. How can one get more than 64k connections to one IP address then?

There's no port exhaustion involved, TCP stacks distinguish between
sockets based on source-ip source-port tuple. The destination port
remainds the same. Only if you get 64k connections from the same
source-ip would there be a problem.

That said, in one of our variants - as a reverse proxy - we did hit this
problem and just started using multiple IP addresses.

> Can you provide any more direct pointers to the papers you refer?

I think the most recent online version is at;

        http://www.stdlib.net/~colmmacc/scaling-06.pdf

The main constrain is memory. Are you running out?

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to