tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: acceptCount in Tomcat 5.x and 6.x?
Date Fri, 03 Apr 2009 21:30:58 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim,

On 4/2/2009 11:37 AM, Jim Goodspeed wrote:
> Can you tell me where in Apache I would configure the number of AJP
> connections?  I'm using Apache 2.2.10 to load balance tomcat using
> mod_proxy.

I think the number of AJP connections would be equal to the number of
total request processors you configure for Apache httpd. So, if you
configure Apache httpd to be able to accept 550 connections but actually
process 250 connections, then you should expect that a maximum of 250
AJP connections will exist at any given time. Those other 300
connections would be queued and eventually processed (which sounds like
what you were asking about).

mod_proxy can pool connections, too, which is where most of the actual
configuration would go.

See http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

Specifically, look at all the parameters in the table about a page down
from the ProxyPass heading. I would imagine setting min and max to the
same value would result in a constant number of AJP connections being
maintained between httpd and Tomcat.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknWgBIACgkQ9CaO5/Lv0PBPDgCgoLhYd7CPyv5nA8pllzJ8DbKK
z3kAoLFXCan0HRWwBKYe1lTkWtDKncQA
=fBX3
-----END PGP SIGNATURE-----

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


Mime
View raw message