Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2008 13:36:09 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Patrick Dung <patrick_dkt@yahoo.com.hk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Maximum number established TCP connection
Message-ID:  <20080303133609.458b5635.wmoran@potentialtech.com>
In-Reply-To: <975190.87342.qm@web54306.mail.re2.yahoo.com>
References:  <975190.87342.qm@web54306.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Patrick Dung <patrick_dkt@yahoo.com.hk>:

> Hello
> 
> I would like if there is a (countable) limit for the max TCP connection
> of a Apache web server.
> 
> Suppose:
> 1. An apache web server serves a very big iso file.
> 2. 5000 people tried to connect to the apache server to get the iso
> file.
> 3. They connect to the server gradually (not 5000 people starting at
> the same moment). So that there will not be a problem caused by the TCP
> backlog limit.
> 4. There will be 5000 established TCP connections.
> 
> Is it true that FreeBSD could handle 'unlimited' established TCP
> connections as long as it has enough CPU power and memory?

The FreeBSD limit on the number of open TCP connections is significantly
higher than the Apache limit on the number of concurrent HTTP sessions.
I believe Apache has a hard limit of 256.

-- 
Bill Moran
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080303133609.458b5635.wmoran>