Web Hosting Talk







View Full Version : apache performance setting


morehtml
03-11-2002, 05:35 PM
I have a SINGLE high volume static file (small html files) only website.

Currently in server status shows 600-1000 requests at any given time. Server loads on a 1Ghz machine with 1 gig ram bounce from .5-2.00

What would recommended settings be for below (These are what I have now):

# Timeout:
Timeout 60

KeepAlive On

MaxKeepAliveRequests 3000

KeepAliveTimeout 15

MinSpareServers 50
MaxSpareServers 150

StartServers 400
MaxClients 1400

MaxRequestsPerChild 10000

I while ago the server froze and I needed a restart from the host and I don't know what caused it.

ReliableServers
03-11-2002, 06:51 PM
Set Timeout to 15 or even 5 works on all my boxes just fine for static html.

MotleyFool
03-13-2002, 02:44 AM
Can you post the OS, version and also the version of Apache? If you are using less than 1.3 , upgrade...

You can improve performance by the following directives in httpd.conf

HostnameLookups off
Options FollowSymlinks
AllowOverride None
DirectoryIndex index.html

Cheers
Balaji