You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2002/06/20 15:02:54 UTC

mod_jk apache process 1 to 1 mapping with Tomcat AjpConnector thread

With this flurry of activity related to mod_jk, apache, and
Tomcat Ajp I was wondering if the following problem had been
addressed.

In mod_jk each Apache Process and/or Thread opens its own unique
socket connection to a Tomcat AjpConnector.

That means if you have your Apache MaxClients set to say 350,
you could have as many as 350 threads spawned in Tomcat for
AjpConnector's.

Yet Tomcat may only be handling 10-20 requests at the same time.
This seems like a big waste of resources in Tomcat.

Is there any work being done on the mod_jk side to pool connections
to tomcat and recycle them so that only the number of connections
needed for handling requests are opened rather than 1 connection
per apache process/thread?

Regards,

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>