Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 23943 invoked from network); 23 May 2007 18:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 18:50:14 -0000 Received: (qmail 40114 invoked by uid 500); 23 May 2007 18:50:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 40091 invoked by uid 500); 23 May 2007 18:50:07 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 40080 invoked by uid 99); 23 May 2007 18:50:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 11:50:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.49.137] (HELO web54407.mail.yahoo.com) (206.190.49.137) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 May 2007 11:49:59 -0700 Received: (qmail 84163 invoked by uid 60001); 23 May 2007 18:49:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=aszURK/473IlyuBdFxNI4OKr79qsdi0FvJvXAqPQ7voME/vdmE4EqcsflwakIY17cEmm9+tNBCtJ00DEwbAEVB/EB57CAJksBtsko+q83qIYA8g+qhZ1hV8aI2Tn8riCS7QekqkdBX4huFGHtYQbD+Dk6P9svtNZIarEwDCXyeM=; X-YMail-OSG: 4biLHdMVM1laLA_.Hbw9jDMoSD578rYLbEZzkekcMToWu4wviqtRqWy0_mczy8Wov8fHfbL_7ExsNy_kISwbIJ0D3iVbToEdeMAvhHLMSYbweIUor5Gas9gjnhahDTqHv85YSYT.WeNZPzDtxMNXiG4tFw-- Received: from [170.40.160.35] by web54407.mail.yahoo.com via HTTP; Wed, 23 May 2007 11:49:38 PDT X-Mailer: YahooMailRC/651.23.1 YahooMailWebService/0.7.41.10 Date: Wed, 23 May 2007 11:49:38 -0700 (PDT) From: justin wright To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <557465.82644.qm@web54407.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] 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? I've set the apache confs to use the following StartServers 512 ServerLimit 1024 MaxClients 1024 MinSpareServers 256 MaxSpareServers 512 MaxRequestsPerChild 100000 I reran the test with a smaller load (350 users as opposed to 1250). It didn't hit the server limit but I still get this error: [Wed May 23 07:30:54 2007] [error] (70014)End of file found: ajp_ilink_receive() can't receive header [Wed May 23 07:30:54 2007] [error] ajp_read_header: ajp_ilink_receive failed [Wed May 23 07:30:54 2007] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (xxx.xxx.xxx.xxx) Any other suggestions? ----- Original Message ---- From: Jim Jagielski To: users@httpd.apache.org Sent: Wednesday, May 23, 2007 12:51:11 PM Subject: Re: [users@httpd] 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? 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 > To: users@httpd.apache.org > Sent: Wednesday, May 23, 2007 12:29:31 PM > Subject: Re: [users@httpd] 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: > >> >> >> StartServers 512 >> ServerLimit 1024 >> MaxClients 1024 >> MinSpareServers 512 >> MaxSpareServers 512 >> MaxRequestsPerChild 512 >> >> > > 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 for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > > ______________________________________________________________________ > ______________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 for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org ____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org