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 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 23, 2007 12:51:11 PM
Subject: Re: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, May 23, 2007 12:29:31 PM
> Subject: Re: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ______________________________________________________________________
> ______________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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
____________________________________________________________________________________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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]