Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 74987 invoked from network); 20 Jun 2006 04:42:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2006 04:42:42 -0000 Received: (qmail 37688 invoked by uid 500); 20 Jun 2006 04:42:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37659 invoked by uid 500); 20 Jun 2006 04:42:26 -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 37648 invoked by uid 99); 20 Jun 2006 04:42:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 21:42:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of armtuk@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO nz-out-0102.google.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 21:42:25 -0700 Received: by nz-out-0102.google.com with SMTP id z31so1393770nzd for ; Mon, 19 Jun 2006 21:42:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hMJOCjzAOxySt7CykRexOOVJoEt1Xrx4z7wVy7cFTavUbu+j+Xxodwp/qmcDv9A/OBDMi+mUl4KKF6TUc8YnKDCZv1xwnDtKg0xLWf0PhAvuykj9E2/2FYo41wqH7EXj0fMiXHUJFDeALAwQeaPWmWd675Fda4RuJWq+9qNKhDs= Received: by 10.37.12.70 with SMTP id p70mr8503629nzi; Mon, 19 Jun 2006 21:42:04 -0700 (PDT) Received: by 10.37.18.45 with HTTP; Mon, 19 Jun 2006 21:42:04 -0700 (PDT) Message-ID: <33c6269f0606192142g7cbb29e2o3e635b8a0a4ea997@mail.gmail.com> Date: Tue, 20 Jun 2006 00:42:04 -0400 From: "Alex Turner" To: "Tomcat Users List" Subject: Re: Tomcat's scalability In-Reply-To: <327858f40606191456t38631626nda5789924e7e99df@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_635_20974990.1150778524397" References: <640D8659154E8D4FB50F8A0BD13792EE0ABA18F3@cmem02.phs.com> <327858f40606191456t38631626nda5789924e7e99df@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_635_20974990.1150778524397 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/19/06, Leon Rosenberg wrote: > > On 6/19/06, Biernatowski Bartosz J wrote: > > I am about 90% sure the bottleneck is Tomcat or what's running on top of > > Tomcat. Application uses JDBC queries to MS SQL server > > Chips are Intel Xeon. My monitoring data: > > Memory utilization under 30%, CPU under 10%. Using hardcore performance > > tools and systematic approach. > > The bottom line is that Tomcat/my application combo don't seem to handle > > more than a certain number of users. All I want to do is to up the # of > > users by 3. > > Sounds like your db connection pool is the problem. Maybe you should > check whether you have enough connections in the connection pool. Connection pooling, ahh yes. This is also a likely problem if you aren't doing any. > > > So far it sounds that the approach of adding separate instance of Tomcat > and > > using round robin is better than adding a separate JVM. > I think both options are equal. How do you plan to run a separate > tomcat in the same JVM? Both options are equaly stupid. Putting multiple intances of tomcat on a single box is pretty worthless unless you have serious application problems. Tomcat is multi-threaded, and will by nature utilize a multi-CPU setup. If you ask me (and hey, we have thousands of concurrent users and a > lot more requests) you need a monitoring tool for your application > inside your application not just vmstat or top. You need to know which > servlet/action/whatever your presentation layer is takes the time and > trace it down in the persistence. Everything else is just kindergarten > :-) > > > > > > > > BJ Biernatowski > > Application Developer, e-Business > > Leon > > > > > -----Original Message----- > > From: Leon Rosenberg [mailto:rosenberg.leon@googlemail.com] > > Sent: Monday, June 19, 2006 10:49 AM > > To: Tomcat Users List > > Subject: Re: Tomcat's scalability > > > > are you sure that tomcat is your bottleneck? > > Your 4 CPU machine (which cpu's btw?) should be able to handle more > > than 1000 users (unless you are speaking about suns cpu) without > > problems. Maybe you should provide more info about your application. > > Do you have any monitoring data? > > > > Leon > > > > On 6/19/06, Biernatowski Bartosz J > wrote: > > > Hello, > > > I was hoping somebody on the list might point me in the right > direction... > > > > > > I am trying to scale up Tomcat based web application currently > supporting > > > ~100 users to 350 users. > > > > > > It seems that I have enough hardware: 2 load balanced servers x 4 CPUs > > each > > > with 4 GB of RAM which is underutilized for most of the time even > though > > > application performance slows dramatically at peak times. > > > > > > I was advised to install multiple JVMs in order to improve Tomcat's > > > performance. Another option I considered was to install 2 instances > > > of Tomcat on each server to see whether it would handle increased > load. > > > > > > Would anybody know what kind of performance improvement would multiple > > > JVM/Tomcat installations provide? Are there any benchmarks available? > > > > > > Thank you for any help! > > > BJ > > > > > > BJ Biernatowski > > > Application Developer > > > > > > This e-mail, including attachments, may include confidential and/or > > proprietary information, and may be used only by the person or entity to > > which it is addressed. If the reader of this e-mail is not the intended > > recipient or his or her authorized agent, the reader is hereby notified > that > > any dissemination, distribution or copying of this e-mail, including its > > contents and attachments, is prohibited. If you have received this > e-mail in > > error, please notify the sender by a "reply to sender only" message and > > delete this e-mail immediately and destroy all electronic and hard > copies of > > the communication, including attachments. > > > > > > > > > --------------------------------------------------------------------- > > > To start a new topic, e-mail: users@tomcat.apache.org > > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > This e-mail, including attachments, may include confidential and/or > proprietary information, and may be used only by the person or entity to > which it is addressed. If the reader of this e-mail is not the intended > recipient or his or her authorized agent, the reader is hereby notified that > any dissemination, distribution or copying of this e-mail, including its > contents and attachments, is prohibited. If you have received this e-mail in > error, please notify the sender by a "reply to sender only" message and > delete this e-mail immediately and destroy all electronic and hard copies of > the communication, including attachments. > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > ------=_Part_635_20974990.1150778524397--