httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] how many TCP-connections at the same time per default?
Date Mon, 22 Mar 2010 18:12:00 GMT
On Mon, Mar 22, 2010 at 9:43 AM, Andreas <619forlife@web.de> wrote:
> Jeff Trawick wrote:
>
> On Sun, Mar 21, 2010 at 11:17 PM, Andreas <619forlife@web.de> wrote:
>
>
> Hi guys,
>
> I want to know how many TCP-connections apache allows at the same time per
> default.
>
> Is it the Max_Clients setting?
> If I understand it correctly, it is not the Max_clients-setting because a
> Client can have more than one TCP Connection.
>
>
> MaxClients is misnamed, probably because clients generally had only
> one connection each when the directive was introduced.
>
> MaxClients is the maximum number of client connections handled by
> httpd simultaneously.  (There can be more TCP connections though --
> new connections that haven't yet been noticed by httpd, and
> terminating connections that no longer require processing by httpd.)
>
> MaxClients is subject to system resources, including RAM and file
> descriptors.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> ok thx for the answer..
>
> so maxClients means max active TCP Connections that are actually handled by
> apache?
>
> The number of simultaneous TCP-Connections that require no processing of
> apache is not fixed?

a. new connections, either being established or established but not
yet processed by httpd:

the number of these might be fixed by TCP layer tuning

httpd's ListenBacklog directive does influence the maximum number, but
not directly (i.e., not 1:1); higher ListenBacklog "should" allow more
connections in this phase, possibly in conjunction with TCP-layer
tuning

b. old connections, with HTTP processing finished (e.g., TIME_WAIT)

the number might be fixed by TCP layer tuning

httpd doesn't have any directives that apply to this

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


Mime
View raw message