tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: mod_jk apache process 1 to 1 mapping with Tomcat AjpConnector thread
Date Fri, 21 Jun 2002 09:25:48 GMT
>The issue is not how many requests mod_jk/Tomcat can handle.
>
>The issue is that you end up over time with as many AjpConnector
>threads being created by Tomcat as you have apache httpd processes
>regardless of how many requests are forward on to Tomcat to process.
>For example, I have apache running on a server which hosts about 40
>websites and handles 10 million page views per month. This requires
>at times up to 350 httpd processes to handle peak load. Only one of
>those websites uses Tomcat, yet Tomcat ends up spawning 350 
>AjpConnector
>threads.  But the load from the one site which forwards some requests
>to Tomcat is only 10-15 simultaneous requests.  So Tomcat ends 
>up having
>350 AjpConnector threads when it only really needs 10-20 threads for
>handling the requests which get forwarded to it.

Do you have apache 1.3 or 2.0 ?

>From I see here, both Apache using mod_jk 1.2.0 drop ajp13 connections
when there is no more need for tomcat request. 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message