Re: Getting 5000 concurrent connections and 400 requests per second with Apache

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

 



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: colm+pgp@xxxxxxxxxx

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux