httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Capacity planning on the web
Date Tue, 18 Feb 2003 08:41:52 GMT
Plain text please...

What exactly are your concerns? There are some performance hints in the
docs ( The three
main things to worry about are memory, processor and pipe. 

Memory: Generally, you should set MaxClients so that:

MaxClients x memory footprint of apache < machine memory

where "<" means "a fair bit less than". At this point MaxClients still
has to be large enough that clients never get "503 Server Unavailable".
To check this, wait until you're really busy, then do "ps -ef | grep
httpd | wc". If it turns out to be a problem, get more memory.

Processor: Run "top" continuously on the server and watch the load
average. If it spends a lot of time significantly over "N" where N = no.
of processors then you need more processors or a faster machine. 

Pipe: mod_status will give you the rate of data served. Is it near the
width of your pipe? If so, more bits/sec are needed. Most ISPs can
upgrade the pipe at their end (the capacity is throttled to well below
the physical limit).

If your needs finally exceed the capability of a four processor, 2 GHZ
machine with a couple of gig of ram, then you need a load-balancer in
front and two machines (then put your data on a shared disk server...).
Linux is an excellent choice for OS since it is stable and scales well.

Owen Boyle 

-----Original Message-----
From: Tim Crouch []
Sent: Montag, 17. Februar 2003 19:29
Subject: [users@httpd] Capacity planning on the web

All - 
        I run several Apache web servers and am concerned about the rate
of growth I am seeing.... I am looking for some online guides on
capacity planning with Apache on Linux.  Does anyone know of anything
current?  I have googled and found some older stuff (1996-1998) and most
of them are 404.  I would be grateful for any suggestions.
Thanks in advance,
Tim Crouch
Manager of Technology
Graduate School of International Studies
University of Denver

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message