Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 91500 invoked from network); 19 Jun 2006 22:36:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jun 2006 22:36:05 -0000 Received: (qmail 96581 invoked by uid 500); 19 Jun 2006 22:35:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96568 invoked by uid 500); 19 Jun 2006 22:35:51 -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 96557 invoked by uid 99); 19 Jun 2006 22:35:51 -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 15:35:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [139.142.220.13] (HELO mail2.globallyboundless.com) (139.142.220.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2006 15:35:50 -0700 Received: from ASSP-nospam [139.142.220.25] by mail2.globallyboundless.com with ESMTP (SMTPD-9.04) id A6AD0104; Mon, 19 Jun 2006 17:35:25 -0500 From: "GB Developer" To: "'Tomcat Users List'" Subject: RE: Tomcat's scalability Date: Mon, 19 Jun 2006 17:35:26 -0500 Message-ID: <011101c693f0$a94763a0$2c00000a@gb.globallyboundless.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <640D8659154E8D4FB50F8A0BD13792EE0ABA18F5@cmem02.phs.com> Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My feeling is that by calling an installatin of 'java' or 'the jdk/jre' = a 'jvm' is going to produce confusion. /usr/local/applications/tomcat1 /usr/local/applications/tomcat2 /usr/local/applications/tomcat3 /usr/local/java That's one *JDK/JRE*, and 3 tomcat *instances*. Each tomcat startup file uses the same JDK to launch a separate *JVM* = (so 3 JVMs equates directly to 3 tomcat instances) because as Leon says, you = can't run 2 tomcats in a single JVM.=20 So no need to install java more than once, just launch multiple JVMs = (and thus, multiple tomcats). We do this on a single CPU box, because we find we 'need' to manage the memory of the webapps running in each instance. So if we 'need' to = bounce a tomcat server because it's got 1% free and isn't getting any better, = then we still have the other two tomcats serving the websites they serve. And I always say 'need' in quotes because yes, one day we'll track down our = leaks and then we won't 'need' to do that. Of course, we're still CPU-bound, so there's no real 'performance' or 'scalability' enhancement by having more than one instance on a single = box. We'd get that (I think) if we clustered more than one physical box each = with its own tomcat/jvm instance, or by clustering multiple tomcats on a a single, multiple-cpu box. That last paragraph is my own weak understanding of CPUs/scalability/clustering, so could be off. > -----Original Message----- > From: Biernatowski Bartosz J [mailto:Bartosz.Biernatowski@rxsol.com]=20 > Sent: Monday, June 19, 2006 4:55 PM > To: 'Tomcat Users List' > Subject: RE: Tomcat's scalability >=20 >=20 > My understanding of Tomcat's instance is having both=20 > Tomcat+JVM installed in separate directories. Both Tomcats=20 > running on separate ports. >=20 > BJ Biernatowski > Application Developer, e-Business >=20 > -----Original Message----- > From: GB Developer [mailto:gb1071nx@globallyboundless.com]=20 > Sent: Monday, June 19, 2006 2:40 PM > To: 'Tomcat Users List' > Subject: RE: Tomcat's scalability >=20 > How do you propose to add a 'separate instance of Tomcat'=20 > without 'adding a separate JVM'?=20 >=20 > Or do you/others mean by 'instance of tomcat' =3D 'a separate=20 > physical server with single instance of JVM/Tomcat' ? >=20 > >=20 > > So far it sounds that the approach of adding separate > > instance of Tomcat and using round robin is better than=20 > > adding a separate JVM. > >=20 >=20 >=20 > --------------------------------------------------------------------- > 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 >=20 >=20 > This e-mail, including attachments, may include confidential=20 > and/or proprietary information, and may be used only by the=20 > person or entity to which it is addressed. If the reader of=20 > this e-mail is not the intended recipient or his or her=20 > authorized agent, the reader is hereby notified that any=20 > dissemination, distribution or copying of this e-mail,=20 > including its contents and attachments, is prohibited. If you=20 > have received this e-mail in error, please notify the sender=20 > by a "reply to sender only" message and delete this e-mail=20 > immediately and destroy all electronic and hard copies of the=20 > communication, including attachments. >=20 >=20 > --------------------------------------------------------------------- > 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 >=20 >=20 --------------------------------------------------------------------- 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