Determining maximum load for Apache on Linux


Is there a "General Formula" that I can use to determine how many simultaneous connections I can support to my HTTP Daemon (apache1.1.) ???

I'm running Linux 2.0 on a Pentium-90 with 32M RAM, 1.1 Gig HD, and a T-1 connection to the internet.

Who is Participating?
jhanceConnect With a Mentor Commented:
In most cases, the limit for HTTP transactions will be the data link (i.e. the T-1 line) and not the computer.  If all you are doing is serving up HTML pages, then CPU horsepower is not much of a factor.  You can calculate the acceptable user load something like this:

(Max Simultaneous Users) = ((NET BW)/(CONNECT RATE))/(Max Acceptable Slowdown)

NET BW = Your Network Bandwidth (1.54 M bits/sec)

CONNECT RATE = Your customer's average connection bit rate (you might use 28,800 or higher depending on how they connect and the nature of the data.  Text compressed to as much as 115,000 b/s, images don't compress at all.)

Max Acceptable Slowdown = A fraction representing speed (1.0 = no slowdown, 0.5 = 1/2 speed, 0.1 = 1/10 speed)

So an example might be:

USERS = (1,540,000/33,600)/0.75 = 61 users
xtian120897Author Commented:
Thanks for your help and quick turnaround!!! :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.