1 Sep 2005 02:55
Re: "ProxyPass ajp://localhost:8009 max=10" useless?
Xuekun Hu <xuekun.hu <at> gmail.com>
2005-09-01 00:55:55 GMT
2005-09-01 00:55:55 GMT
Thanks for your answer. Now I understand what the max means.
However the errors occured again. I don't know if the error shows a
bug or just my configuration error, so I sent to dev list.
I used worker MPM.
ThreadLimit 600
<IfModule worker.c>
StartServers 4
MaxClients 24000
ServerLimit 50
MinSpareThreads 1000
MaxSpareThreads 2000
ThreadsPerChild 600
MaxRequestsPerChild 0
ListenBackLog 3000
</IfModule>
MaxRequestsPerChild 0
ProxyPass /jspdir ajp://localhost:8009/jspdir max=10
My TOMCAT configuration:
<Connector port="8009" maxHttpHeaderSize="8192"
maxThreads="8000" minSpareThreads="4000" maxSpareThreads="8000"
acceptCound="50000" enableLookups="false"
redirectPort="8443" protocol="AJP/1.3"
tomcatAuthentication = "false" />
So the max connections httpd created should be 50 * 10 = 500, however
TOMCAT threads are 8000. So why these errors happened? (Apache errors
(Continue reading)
RSS Feed