Some pointers: MaxRequestsPerChild 512 This means that after an Apache child process handles 512 requests, it will be killed off (and a replacement will need to be forked). With 45+ million request per hour, that's a lot of forking. Min/MaxSpareServers 512 You are telling Apache that you want between 512 and 512 idle Apache processes. If you have more, kill them off; less, add more. Can you see the issue with this? :) (actually, Apache internally tries to handle this misconfig by setting Max to 513, but still, that's a REAL NARROW BAND) On May 23, 2007, at 1:41 PM, justin wright wrote:
When I use the default settings apache immediately complains that it reaches the server limit. Therefore, I kept raising the limits until I reached the configuration listed below and still the CPU utilization on the apache box is less than 10% (Its a quad AMD box with plenty of memory). I've spent the past month pouring through the documents trying to figure out how to configure these settings. What would you suggest for a high-volume site that can serve up 45+ million requests in an hour?----- Original Message ---- From: Jim Jagielski <jim@xxxxxxxxxxx> To: users@xxxxxxxxxxxxxxxx Sent: Wednesday, May 23, 2007 12:29:31 PMSubject: Re: Re: High volume issues using mod_proxy (balancer,http,ajp) on Apache 2.2.4 across multiple tomcat 5.5.23 clusters - Configuration issues or bugs?On May 23, 2007, at 1:23 PM, justin wright wrote:<IfModule mpm_prefork_module> StartServers 512 ServerLimit 1024 MaxClients 1024 MinSpareServers 512 MaxSpareServers 512 MaxRequestsPerChild 512 </IfModule>I would suggest reading at least *some* of the documents on how to configure Apache. Apache is spending loads of time thrashing and killing/creating processes that it's a wonder it's working at all. ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx______________________________________________________________________ ______________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.http://answers.yahoo.com/dir/?link=list&sid=396545469 ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx