请教apache 优化

小弟正在测试跟apache 相关的一些内容。
在RH上安装了apache
...apachectl -v
Server version: Apache/2.0.52
Server built:   May 24 2006 11:45:10
. ..uname -a
Linux WAP-TESTBED-WEB67 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux

测试要求apache接收get 请求后,把结果返回给客户端。
请求是2K-100K 内容不等。
状况是,我们急需提高apache 性能,我们测试目的不是apache性能,但是不希望apache成为瓶颈。


如何能够提高apache性能呢?现在apache server 系统负载很低,CPU,内存都是2%使用率。(但是主机socket TIMEWAIT保持在1万-4万)
需要修改那些参数提高apache性能呢?比如提高他的并行处理能力?

请高手帮我分析下


谢谢了



下面是我们目前的调整
#CustomLog logs/access_log combined
CustomLog /dev/null combined

Now apache service is running, the access_log filesize is still Zero.

I changed some configuration about linux webserver.
About OS:

1 Stop X-windows
Run shell command :"init 3"
2 change tcp parameters

sysctl -w net.ipv4.tcp_fin_timeout=30;
sysctl -w net.ipv4.tcp_keepalive_time=900;
ysctl -w net.ipv4.tcp_tw_reuse=1;


3 check /var/log/httpd/access_log; error_log file size
Be sure about its size less than 1G

4 chkconfig --list
Check service list on rc3.d level.
We can stop some unuse service such as sendmail, snmp


About apache changing

vi /etc/httpd/conf/httpd.conf
MaxClients 150 -> 230
HostnameLookups Off