Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 95126 invoked from network); 25 May 2007 17:43:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2007 17:43:13 -0000 Received: (qmail 24061 invoked by uid 500); 25 May 2007 17:43:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23851 invoked by uid 500); 25 May 2007 17:43:05 -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 23834 invoked by uid 99); 25 May 2007 17:43:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 10:43:04 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of herman.schultz@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 10:42:59 -0700 Received: by ug-out-1314.google.com with SMTP id m2so111627ugc for ; Fri, 25 May 2007 10:42:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=V63SBfi78jcYRzRh42KjFV/n+Irk+9QQ01G+qhqNLYLQf1vXi0NEV5re6Q+2MTZlxXnmxxWyZNHOMQKnUrNichk+D1cCPK6F2xJGHNB2cr/1ycozdy+Yym4exbigy7pxmfS+qirmfiMbsTy7XY3X7+Q1OXmFydRUaYizkRGdsNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fKZLMlsCGmrVb+AOWIrdkVd8a7pFkTKEK6cMgKHrzvEfAKPDqO+CehwecMx5SCLcSv8uKDZLtkLz2RId36gyuRgop8KTY1qKiGKG90ZmMuHlo5Dsy91SsWv9b2RbqOE4F4ZrJoKsa8OPz3dMgsbytD+AYa75UA9qOBV8G/dZsYM= Received: by 10.82.191.3 with SMTP id o3mr5987033buf.1180114955433; Fri, 25 May 2007 10:42:35 -0700 (PDT) Received: by 10.82.168.14 with HTTP; Fri, 25 May 2007 10:42:35 -0700 (PDT) Message-ID: <5dd1639d0705251042q243a5e54yc6663e2f3229ffed@mail.gmail.com> Date: Fri, 25 May 2007 12:42:35 -0500 From: "Herman Schultz" To: users@tomcat.apache.org Subject: How can I limit the number of thread that tomcat spawn for my servlet MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_62166_7474069.1180114955403" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_62166_7474069.1180114955403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, My understanding is tomcat will spawn a thread for each request to my servlet. How can I limit the number of thread that tomcat spawn for my servlet simultaneously? And let say if I limit the simulateous thread for my servlet to 10, what happens to the 11th request? Will it get dropped? Or Will it get queued? Thank you. ------=_Part_62166_7474069.1180114955403--