On 31/10/2016 19:38, Rallavagu wrote: > 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.
When using the internal thread pool, that delay is hard-coded to 60s. If you want to configure it, use an Executor. Mark > > On 10/31/16 11:58 AM, Christopher Schultz wrote: > 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 >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org