my server is. P4 3G Hz 1G ram I host more than 80 sites, most of them are inactive. Only one of them is very active. it has around 10k unique per day. The problem is the apache sometimes with no respond. I know it may be the problem of setting. I alway found that there are so many httpd pid process. Timeout 10 KeepAlive On MaxKeepAliveRequests 0 KeepAliveTimeout 2 MinSpareServers 20 MaxSpareServers 50 StartServers 8 MaxClients 256 MaxRequestsPerChild 900 this is my current setting, can anybody help me to optimize it ? I need the setting to suit my high traffic server. Thanks.
MaxClients 256 is too high for 1GB of RAM, is that site PHP powered? PHP 5 uses at least 16 MB memory per request so 256 * 16 = 4,096 GB! I suggest buying more RAM and setting MaxClients to a reasonable number, then if it's PHP powered, install ZEND optimizer and eAccelerator.