httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] MaxClients = clients who can simultaneously connect?
Date Thu, 27 Feb 2003 13:50:37 GMT

On Thu, 27 Feb 2003, Søren Neigaard wrote:
> Is there then a good hand rule to calculate the max number of users each
> second this server can handle, or no?

It has little to do with the number of users per second.  One request can
take a hundredth of a second or several minutes.  And one user may use
several connections at the same time.  MaxClients controls the total
number of connections that can be made at once.

The most basic method of determining a good setting for MaxClients is to
find the amount of memory per apache process (eliminating shared memory)
and then divide the amount of free memory on your system by that number.
MaxClients most important job is to protect against the server getting
swamped by trying to serve requests out of swap space.

Joshua.

---------------------------------------------------------------------
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