Highest possible Apache performance

SoCal

Verified User
Joined
May 13, 2007
Messages
24
Hi,

We are testing Directadmin before implementing it on a very high loaded website.

1. We are going to use it on a high end CPU with 16GB of memory for a highly busy website with 500-1200 people online at any given time.


2. Right now, We are testing it on a dual CPU with 4 GB memory and the results so far with HTTPD are very slow.

3. We are using out of the box Directadmin instalation without modifying anything. The current hardware is an overkill for the loads but still the websites speeds according to ab -n 60 -c 10 http://domainname:80/ is highly depressing. The server have only one busy website.

Concurrency Level: 10
Time taken for tests: 16.463 seconds
Complete requests: 60
Failed requests: 0
Broken pipe errors: 0
Total transferred: 378480 bytes
HTML transferred: 358980 bytes
Requests per second: 3.64 [#/sec] (mean)
Time per request: 2743.83 [ms] (mean)
Time per request: 274.38 [ms] (mean, across all concurrent requests)
Transfer rate: 22.99 [Kbytes/sec] received

Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 450 1080.3 0 3000
Processing: 1877 2184 252.8 2168 3049
Waiting: 1877 2184 252.8 2167 3049
Total: 1877 2634 1041.7 2230 5054

Percentage of the requests served within a certain time (ms)
50% 2230
66% 2301
75% 2605
80% 2769
90% 5016
95% 5041
98% 5049
99% 5054
100% 5054 (last request)

4. Please suggest the httpd.conf tweaks, what should be changed to allow fastest and highest possible user count.


I hope this is a apache 1.3.x based httpd, as we havent modified any bit of configuration after getting the box.


Is directadmin really recommended for high traffic websites? Any websites hosted with Directadmin with a very high traffic? If somebody knows.

Thanks.
 
PLUS:

will it be any beneficial to upgrade to Apache2? Is it actually better?

If its really better, then why Directadmin doesnt install Apache2 by default?

Thanks.
 
The normal Top shows us this

top - 20:15:44 up 2 days, 7:40, 0 users, load average: 1.76, 2.26, 2.40
Tasks: 491 total, 3 running, 488 sleeping, 0 stopped, 0 zombie

The process number never goes above 491 and 491 is constant, means the requests are waiting already all the times, I want it to go to unlimited and use all our RAM.

Where should i tweak it?
 
Show us the rest of the static lines from the top of the top command.

DirectAdmin cares not about the specifics of the httpd.conf file; you can optimize httpd.conf any way you want.

There are a lot of people who think Apache2 will run much more quickly, just as many people say it won't.

Try to get some specific help from an apache online group, test on your website, and then implement. Changes to httpd.conf shouldn't affect DA, but make sure to restart apache after you chagne the file.

Jeff
 
Back
Top