Hey guys my site has grown a bit and im having trouble with the cpu load on the server with all the httpd requests. So far I've found only one solution and this is to set a cron to restart apache every 3 hours or so to kill all request and reset cpu usage back to normal. Is there another option to kill these long requests? I rather not have to restart apache everytime I do it takes a awhile to get back up and people may think there images are down... Thanks Matt
Matt, how is ur server dns configuration. Some scripts tend to do cron jobs each time people ask for the url. It is like the script will loop back to ur dns each time request being made. Please check make sure you have your own dns setup (private dns)
pips not sure im understanding what your saying or maybe you didn't read what I asked right.. im confused.
Killing processes is not a good way for your customers. If your site is growing, why not upgrade to better hardware?
Why dont you install LiteSpeed You can replace Apache with LiteSpeed. Its much better than Apache. It will reduce your server load too. Regards
lighthttpd is the best way to go from an image host. you should also upgrade hardware and tweak your conf files.
Getting over 2000 Req/sec Current apache config: KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 3 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 2000 MaxRequestsPerChild 0 AccessFileName .htaccess UseCanonicalName On DefaultType text/plain HostnameLookups Off Any recommendations?