httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <...@bourse.ch>
Subject Re: Seeks wisdom
Date Fri, 01 Mar 2002 15:56:57 GMT
Kyle wrote:
> 
> I ran into that 255 limit ... 1000+ concurrent connections ... restriction

Hang on chaps... Let's just be clear about a few things:

There are no "concurrent connections" in HTTP - it is a connectionless
environment. Asynchronous requests are served by a host of httpd
daemons.

The 256 limit applies to the maximum number of daemons which apache will
allow to co-exist and is defined by the HARD_SERVER_LIMIT constant which
is in src/include/httpd.h (as was mentioned already). 

The MaxClients directive allows you to set the number to fewer than this
(e.g. if you have a memory limitation on your machine). 

If you want to increase the number, just change the value in httpd.h and
recompile. As long as you have enough memory and processor power in your
server, you can increase this arbitrarily - the real limit is with the
hardware you choose to employ and not with apache. 

Note that if you put a tiny computer onto a busy website, you'd run into
trouble in any case. The HARD_SERVER_LIMIT is like a speed-governor, it
stops you blowing the head-gasket. If you get a bigger engine, you can
set it higher.

Rgds,
Owen Boyle.

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


Mime
View raw message