Optimizing Apache for performance on FreeBSd !!

atul

Well-Known Member
May 6, 2004
52
0
156
Hello,
My clients are complaing for slow servers .There is no network speed problem or mysql problem as I already optimizade mysql ..
But still server is running slow..
Here are some of my parameters:

Check this:

server# ps -aux | grep -c http
231
server# ps -aux | grep -c mysql
2
server# top d 1
last pid: 61284; load averages: 0.41, 0.45, 0.39 up 50+16:19:21 08:03:55
309 processes: 1 running, 308 sleeping
CPU states: 18.8% user, 0.0% nice, 11.5% system, 1.0% interrupt, 68.8% idle
Mem: 319M Active, 165M Inact, 451M Wired, 35M Cache, 111M Buf, 16M Free
Swap: 2048M Total, 12M Used, 2036M Free

And in httpd.conf file I have:
Keepalive on
MaxKeepAliveRequest 500
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 230
MaxRequestsPerChild 0

How should I tune this?
Thank you