tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Error 503 ocurring when server under load
Date Tue, 12 Oct 2010 18:47:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

On 10/11/2010 4:40 PM, Rob G wrote:
> So if I'm reading your email and the docs correctly. I should just
> comment out the cachesize=10 from the workers.properties.

I would.

> And since for connection_pool_size (that replaced it)  JK  will
> discover this number for the Apache web server automatically and set
> the pool size to this value, I don't need to add anything to the
> workers.properties file?

I believe that is true.

On the other hand, there is another case where you might have problems.
If you have, say, 512 worker threads in Apache httpd but you only have,
say, 200 request processor threads configured in Tomcat, then you will
get mod_jk connection failures on the httpd side.

I would recommend that you have enough request processors configured in
Tomcat to handle the expected load.

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

iEYEARECAAYFAky0rToACgkQ9CaO5/Lv0PCvjACgwttZ9YfINxpWP+DI1+VlKfvI
OTAAoK+2RQRibL56GdYWlaWxx6obZVln
=hY3s
-----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