Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
harsimran,
On 5/1/2011 1:09 PM, Harsimranjit singh Kler wrote:
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
ServerLimit 30
StartServers 20
MaxClients 1500
MinSpareThreads 40
MaxSpareThreads 100
ThreadsPerChild 50
MaxRequestsPerChild 0
So you have a maximum of 50 * 30 = 1500 incoming connections for Apache
httpd.
#For tomcat 1
worker.list=worker1
#worker.worker1.domain=worker1
worker.worker1.type=ajp13
worker.worker1.host=
Hmm. What does host="" get you? I hope localhost, by default.
worker.worker1.port=8009
worker.worker1.lbfactor=1
Default connection_pool_size is "do whatever makes sense" which should
be "1": that will give you 1500 connections to your backend.
server.xml(tomcats)
Connector port=”8009″
enableLookups=”false” redirectPort=”8443″
maxThreads=”500″ minSpareThreads=”25″
maxSpareThreads=”75″ protocol=”AJP/1.3
You have configured httpd to make 1500 connections to Tomcat, but Tomcat
can only accept 500 connections. You will have lots of
connection-thrashing on the httpd side.
You want to make sure that the number of mod_jk connections you expect
to make from the httpd side is the same as the number of connections you
can handle on the Tomcat side.
He has 3 tomcats though.
Or did I misread that ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org