Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 960DD200BB4 for ; Tue, 1 Nov 2016 19:06:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8E9BB160AF7; Tue, 1 Nov 2016 18:06:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D4F89160ADA for ; Tue, 1 Nov 2016 19:06:46 +0100 (CET) Received: (qmail 65171 invoked by uid 500); 1 Nov 2016 18:06:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 65160 invoked by uid 99); 1 Nov 2016 18:06:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 18:06:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B2C32C0C04 for ; Tue, 1 Nov 2016 18:06:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.714 X-Spam-Level: X-Spam-Status: No, score=0.714 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, NO_RDNS_DOTCOM_HELO=0.433, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UapGCpy0VEs4 for ; Tue, 1 Nov 2016 18:06:42 +0000 (UTC) Received: from vms173009pub.verizon.net (vms173009pub.verizon.net [206.46.173.9]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 36CA05FC76 for ; Tue, 1 Nov 2016 18:06:42 +0000 (UTC) Received: from vz-proxy-m001.mx.aol.com ([64.236.83.14]) by vms173009.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OFZ008486AD5MC0@vms173009.mailsrvcs.net> for users@tomcat.apache.org; Tue, 01 Nov 2016 13:06:18 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=dNPWoKRb c=1 sm=1 tr=0 a=MJxOpqxZADbEbEImuSX/mw==:117 a=IkcTkHD0fZMA:10 a=L24OOQBejmoA:10 a=mV9VRH-2AAAA:8 a=j4nzMFrpAAAA:8 a=QfKxxUxMAAAA:8 a=Il2-DmLkgJHtw-QCQI0A:9 a=emfQhbov_O7WklPf:21 a=wqQ8bBqcjzjXIM5L:21 a=QEXdDO2ut3YA:10 a=r2AI8NScO2wA:10 Received: by 74.96.79.133 with SMTP id 071055eb; Tue, 01 Nov 2016 18:06:17 GMT Subject: Re: currentThreadCount and currentThreadsBusy To: Tomcat Users List References: <2e2600aa-d40d-55cc-fc6a-be76d671f0fd@christopherschultz.net> <0a2c51df-bd8d-dadb-9b60-d74071011f4f@gmail.com> <8e11b260-324f-4720-d437-4e6ede549391@gmail.com> <6c7a2e2d-766a-e4c8-7ff9-24400bbe555f@gmail.com> From: Christopher Schultz Message-id: <5f5786bb-2b7c-7648-4350-0a6478006cf2@christopherschultz.net> Date: Tue, 01 Nov 2016 14:06:12 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-version: 1.0 In-reply-to: <6c7a2e2d-766a-e4c8-7ff9-24400bbe555f@gmail.com> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit archived-at: Tue, 01 Nov 2016 18:06:47 -0000 -----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 is recommended. I was under the impression that a non-explicit 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