Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 53542 invoked from network); 1 Oct 2002 15:07:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Oct 2002 15:07:45 -0000 Received: (qmail 29545 invoked by uid 97); 1 Oct 2002 15:07:21 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 29460 invoked by uid 97); 1 Oct 2002 15:07:20 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29404 invoked by uid 98); 1 Oct 2002 15:07:20 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D99B9C5.EDC41DE7@labs.gte.com> Date: Tue, 01 Oct 2002 11:05:41 -0400 From: peter lin X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Concurrency Problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N it all depends on the hardware, webapp and a whole bunch of other things. the best way to find out is to stress test it with varying level of threads, preferably increased in regular increments. once you get a baseline, you can then try increasing the max processors in server.xml and repeat the same set of tests. Do this as many times as needed to figure out what settings work best for you. Depending on your webapplication and the response time, you may also want to try increasing the acceptCount. Performance tuning takes time and consistent methodology. It's also beneficial to set a thresh-hold for what you consider to be reasonable response time under heavy loads vs light loads. hope that helps. peter Tomcat Forum wrote: > > Hi Everybody, > Iam having some problems with simutaneous users on the Tomcat 4.0 > server. I have made a java client for testing Tomcat with multiple users. > This client makes multiple threads with each requesting login and then some > page from the tomcat server. But if I send more than 25 threads I start > getting exceptions from the server like java.net.ConnectException: > Connection refused: connect. > Can somebody please tell me what is the maximum number of simultaneous > users Tomcat can support and is there any way to configure this? > I'll appericiate ur help. > Mandeep > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: