Here is the configuration snippet.

<!--The connectors can use a shared executor, you can define one or more named thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>
    -->

<Connector port="28080" protocol="HTTP/1.1" URIEncoding="UTF-8"
               maxThreads="500"
               connectionTimeout="20000"
               redirectPort="28443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="28080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="28443" />
    -->

As you can see, _not_ using executor. Thanks.

On 10/31/16 11:58 AM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rallavagu,

On 10/31/16 1:59 PM, Rallavagu wrote:
All,

Tomcat 7.0.70 with bio connector

I have been monitoring JMX for "currentThreadCount" and
"currentThreadsBusy". If I understand correctly,
currentThreadCount would not exceed "maxThreads" configuration and
"currentThreadsBusy" apparently shows "busy" threads at that time.
I am wondering if there is a "timeout" (or other config/parameter)
for not busy threads (for long time) to be removed so
currentThreadCount would be reduced. Thanks.

Are you using an <Executor>? Perhaps you could post your <Connector>
and also <Executor> configuration if you are using one.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYF5RsAAoJEBzwKT+lPKRYOMIP/Axsb/+n3iy/PvgM2/zibK2X
aCiFjwH1bdInzCnPwaO02B6rYTgxAIEjgcBSMCTjBh7cyB9Okq1I5yo1ylVOHprd
GECbu401or1FpVfj4JPLL/yK8bS2m8cZ+s+JL4SKkhYIxzeNL/bm89v+tEXmAViw
6WmvgxF7zqswQBzkmkk2Z+20JnbqsLvXhXang25/BeAPFt9Q/ojHz96N8i3ENDMf
5YiXXukGIZjtLFqtsA1V+YpuehkzYYJxkgO2viipKP1B8hOHggjh+GpV4N0AXbwv
a//NcYW5AgdH38jWueEdvrTftfX+6PMc804HcdCVUkJK64zsyR3YwapyW8rZSir8
UOaELgfh/TOF0z7LK4hIRBQwZgKczj9IKJcWZsT/JYVmt3HLVyNqwo0iIw2iYbgQ
44iirJy40apjPabC7I9fJY8hRrv2JIrQg0rti2CEFH7LFGXsCaNayveKngZlPOy9
6/ZrzF2OVkzhDGV2WwCzjPak7t20OvN8F3+KLu+ldPrbWNKw15DbBJCeFUs0U02E
Z5gFRvP9CiVV3qywlq4E/qtDNkMNAW/N+RBxn/KjSFosHIuZ2CwlVB993/FsDbQW
d1hev6Xshr2STepoyn4++/PQ5mdrQRPOK+lMKBXtLrKRdzauAUnt3Dkgm204z4o6
vTqaaUzfscZFXPWxgdCM
=X1cd
-----END PGP SIGNATURE-----

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


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

Reply via email to