tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Courtney" <Jcourt...@inphonic.com>
Subject AJP socket lifecycle?
Date Wed, 09 Jul 2003 17:31:19 GMT
Hey Tomcat developers,
	Does AJP13 behave similarly to HTTP 1.1 in terms of socket keep-alive?  Does Apache/mod_jk(2)
maintain a pool of persistent connections to the Tomcat server or are the connections transient?
 My exploration with netstat indicates that the connections are persistent which holds consistent
with common practices for TCP efficiency.  If this is the case how are these persistent connections
allocated to incoming HTTP requests?  I've seen 50-60 ESTABLISHED connections between my Apache
2.0.45 and each of two Tomcat 4.1.24 instances (so 100-120 total ESTABLISHED AJP connections)
even though I know that my number of concurrent user HTTP requests is much smaller than that
at 30 or so.  If the pool of consistent connections were being used as expected I would expect
to see only 30 or so (maybe up to 50-60 for spikes) AJP connections or about 15-30 per Tomcat.
 Any thoughts?

Many thanks!

Jamey


James Courtney
InPhonic, Inc.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message