Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19506 invoked from network); 9 Apr 2010 11:50:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 11:50:00 -0000 Received: (qmail 54887 invoked by uid 500); 9 Apr 2010 11:49:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54802 invoked by uid 500); 9 Apr 2010 11:49:56 -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 54793 invoked by uid 99); 9 Apr 2010 11:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 11:49:56 +0000 X-ASF-Spam-Status: No, hits=-0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.151] (HELO smtp6.freeserve.com) (193.252.22.151) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 11:49:47 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3533.me.freeserve.com (SMTP Server) with ESMTP id 608441C00096 for ; Fri, 9 Apr 2010 13:49:23 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3533.me.freeserve.com (SMTP Server) with ESMTP id 4FBFB1C00097 for ; Fri, 9 Apr 2010 13:49:23 +0200 (CEST) Received: from mail.homeinbox.net (unknown [91.109.147.229]) by mwinf3533.me.freeserve.com (SMTP Server) with ESMTP id 180621C00096 for ; Fri, 9 Apr 2010 13:49:23 +0200 (CEST) X-ME-UUID: 20100409114923985.180621C00096@mwinf3533.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 7544032934 for ; Fri, 9 Apr 2010 12:49:31 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JRNb6Oys5a43 for ; Fri, 9 Apr 2010 12:49:27 +0100 (BST) Received: from host57.msm.che.vodafone (unknown [212.183.132.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 0D82D32930 for ; Fri, 9 Apr 2010 12:49:26 +0100 (BST) Message-ID: <4BBF143B.9080205@apache.org> Date: Fri, 09 Apr 2010 12:49:15 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat does not honor acceptCount configuration variable References: <99C8B2929B39C24493377AC7A121E21F96D29E219F@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21F96D2A2A5CD@USEA-EXCH8.na.uis.unisys.com> <51885614-6496-43F8-83F4-2D38512F3B7D@unisys.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/04/2010 10:55, Timir Hazarika wrote: > Chuck, this is the same configuration as in my initial question, except for > the value of accept count. I've already tried setting it to zero as well : > > Folks, > > What is the best way to limit connections in tomcat, if there is one ? I >> have tried acceptCount, maxThreads, even specifying explicit executor - but >> in vain. > connectionTimeout="20000" > > redirectPort="8443" acceptCount="5" maxThreads="5" /> > > > Or am I missing something ? Telling us how you are determining that these settings are not being honored. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org