Hello all, here is my problem: i'm hosting a forum (~80 simultalinous users online) In a VDS 512 MB RAM, Linux Debian with apache 1.3 and mysql 4.1 , php4. Apache seems to be busy, pages don't even load, this can be resolved by restating apache. and after a couple of time (about 4 hours) it does the same thing again, and i do have to restart it again and looping ... Here is my httpd.conf file : Timeout 200 KeepAlive On MaxKeepAliveRequests 200 KeepAliveTimeout 3 MinSpareServers 5 MaxSpareServers 15 StartServers 5 MaxClients 20 HostnameLookups Off MaxRequestsPerChild 2000 Listen 80 BindAddress * Code (markup): Can you please help me ?
It is happening because your Maximum clients requests have been set too low. Change the value of MaxClients 20 to 1000. Like this: MaxClients 1000 And also for better apache performance you can follow my below suggested values: Set the following values: Timeout 65 KeepAlive On MaxKeepAliveRequests 15 KeepAliveTimeout 1 After changing the values, restart your apache. Hope your problem will be resolved Regards
keepalive off and set the timeout to 10.Also there can be a mysql problem.Please check the logs and paste the sql config