Brain Stormer wrote:
Hello,

I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28.

The problem is that connection_pool_size is set to 60 and httpd
available threads per chilf is set to 60 and tomcat max threads set to
100 and min set to 60 and checking netsat tells that there are only 2
to 4 connections between httpd.worker and tomcat AJP port.


It can be caused by many things, and the probable one is the
configuration.

And BTW, your stup won't work well.
If the connection_pool_size is 60 you will have
60 * MaxClients/ThreadsPerChild connections to Tomcat, and
given your 100 limit this will not work.

The proper number is:
connection_pool_size = maxThreads in Tomcat / (MaxClients / ThreadsPerChild)

If you have in httpd.conf
MaxClients 600
ThreadsPerChild 60

and
maxThreads="100" for AJP Connector in server.xml

this would give
worker.xxx.connection_pool_size=10 (100/(600/60))


Regards
--
^(TM)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to