tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: currentThreadCount and currentThreadsBusy
Date Tue, 01 Nov 2016 18:06:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rallavagu,

On 10/31/16 4:02 PM, Rallavagu wrote:
> On 10/31/16 12:54 PM, Mark Thomas wrote:
>> On 31/10/2016 19:52, Rallavagu wrote:
>>> As per
>>> https://tomcat.apache.org/tomcat-7.0-doc/config/executor.html
>>> it appears "maxIdleTime" could be what I am looking for. Is
>>> there a corresponding config parameter for internal thread
>>> pool?
>> 
>> Which part of "hard-coded" wasn't clear?
> 
> Well, I was not sure if is referred to "maxIdleTimeout" or not and
> I am not seeing thread count to diminish hence had to ask. So, I
> guess the recommendation is to use Executor instead?

Yes: use of an explicit <Executor> is recommended.

I was under the impression that a non-explicit <Executor> would never
retire threads, but I had (and still have) never checked the code. I
didn't realize that they would time-out after 60 seconds and be
evicted from the thread pool.

- -chris

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

iQIcBAEBCAAGBQJYGNmUAAoJEBzwKT+lPKRYA1AQALcvgriRX6CYHDVramLfubd+
3s/CiECcGZxCtnqMpc5UMC972/MXFzwDZ0QbPR/piMjoAGpMdHruRxNmdWK/mBDv
IAFu0c8rrtITcox26WoYzJjq7DckbKB0VDU4uoLqwv5Aih9/6GiaX3EIf9sSLN1P
ODEdk9lDpsFhNVP+GAI/Ls/+xfLb3Rr5DVSQmpImSwgIRiiF3XzU6SOaV6cI0Pg5
ew6lduHDDwl33Rzy0IoXjgHUYnM5h117SLB/muZEQ4WZWPMsax1kn7zhfjhdPXHF
1vyDP00yiCjYfnnkoicUoPgjTzztKw5mSUsS0p/bqV2vgd2kkgipVfq6kBIWHaAr
dvvc7p2RpCBqHdJAN/EgddG6Og/HrL0/NEuXT5HN8Cu3TIUVIJL0Q/+WmBf1DaIs
APnpN19aFcUQY3Ok1iVeKeHhIiXCDcMWUy9rx1giErpHIB20CQaBsUd35Zxj2EqJ
YrULvPAxc39fIrolMhq63gaNhLMLTKHvDxsSUh8SmKosQLPrQcHZMVbRUl4WMQzC
TEF73QL/vC5LProuwLwTIqYDE0FOwIitVAmrryPnw7lfss3bMvPNTs/sk9pwcZZ7
pUEV4CJlSwO0TA40BJMSY6ywVcSOz3Q2TJtlKzy0o4Wqr+2XXEC2noB/Bh1dW8hS
cqGGfMLE89NyeFadIpMp
=MTSU
-----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