-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anand,

On 4/22/2009 1:35 AM, connossieur wrote:
> This is my Server.xml

Note you have two connectors defined:

>      <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
>          maxThreads="70" minSpareThreads="20"/>
>      <Connector executor="tomcatThreadPool"
>                 port="80" protocol="HTTP/1.1"
>                 connectionTimeout="2000"
>                 redirectPort="8443" />

This connector uses the tomcatThreadPool executor which will use threads
with names starting with "catalina-exec-".

>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

This Connector uses its own thread management, and defaults to 200 max
threads (http://tomcat.apache.org/tomcat-6.0-doc/connectors.html).

If you want the AJP connector to share the 70 threads configured above,
you need to set the "executor" attribute on this <Connector> as well.

> Do you think this has a problem? I'll try to upload the thread Dump to my
> website and send a link.

If you have 1000 threads running in your java process, than either
Tomcat has a *huge* bug (unlikely) or your application is going crazy. A
thread dump will help diagnose.

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

iEYEARECAAYFAknvPjkACgkQ9CaO5/Lv0PAJcgCgiIHZ8SA7u+XvAC+31WYUi3Yp
5igAn2jlq0AXnM7jeVBAF8lWMkTVskjY
=CUNy
-----END PGP SIGNATURE-----

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

Reply via email to