You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Brown <ca...@gmail.com> on 2008/04/18 13:00:10 UTC

Are there issues with running multiple instances of tomcat?

We are currently running two instances of tomcat on our systems. One is for
a vendor specific application and the other is for in-house written
applications. We are careful to make sure the ports do not conflict and
there are plenty of resources to support both; memory and CPU.

Recently the statement has been made that the two instances can conflict
with each other and cause issues and instability with the applications.

 Is this true? I was under the impression that since they are in their own
JVM's neither tomcat would have any affect on the other. If there are issues
in what form may they take place?

RE: Are there issues with running multiple instances of tomcat?

Posted by Peter Crowther <Pe...@melandra.com>.
> From: David Brown [mailto:captkiddo@gmail.com]
> Sent: 18 April 2008 12:00
> To: users@tomcat.apache.org
> Subject: Are there issues with running multiple instances of tomcat?
>
> We are currently running two instances of tomcat on our
> systems. One is for
> a vendor specific application and the other is for in-house written
> applications. We are careful to make sure the ports do not
> conflict and
> there are plenty of resources to support both; memory and CPU.
>
> Recently the statement has been made that the two instances
> can conflict
> with each other and cause issues and instability with the
> applications.

That sounds like classic FUD unless the person concerned can back it up.  Who's trying to pass the buck for a problem?  The vendor or the in-house dev team? :-)

>  Is this true? I was under the impression that since they are
> in their own
> JVM's neither tomcat would have any affect on the other. If
> there are issues in what form may they take place?

They'll compete for resources (notably disk i/o and the overall system cache), but I'm not aware of any other issues.  I've seen one big production site run with three load-balanced Tomcats on one (big!) box, simply so that the organisation could restart one Tomcat instance at a time for upgrades.  I've not heard of any resulting instability or issues, but the standard disclaimer applies - it ain't my site, so I may not have heard everything!

                - Peter

---------------------------------------------------------------------
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


Re: Are there issues with running multiple instances of tomcat?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Brown wrote:
| Recently the statement has been made that the two instances can conflict
| with each other and cause issues and instability with the applications.

By whom?

In production, we run 3 simultaneous and separate Tomcat 5.5 instances
with no problems whatsoever. They even share a modest machine (Intel P4
with 1GB RAM). No complaints whatsoever.

| Is this true? I was under the impression that since they are in their own
| JVM's neither tomcat would have any affect on the other. If there are
issues
| in what form may they take place?

As long as you trust both the hardware and the OS (and your apps not to
hog the CPU), the two should not interfere.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgIkHMACgkQ9CaO5/Lv0PDppwCdEpxe9pBXI4XEypmsUdnw4bqK
u+AAoMK/Vwj/Jip/jY2QBFh+57qVfLy0
=rcwq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Re: Are there issues with running multiple instances of tomcat?

Posted by Gabe Wong <ga...@ngasi.com>.
David Brown wrote:
> We are currently running two instances of tomcat on our systems. One is for
> a vendor specific application and the other is for in-house written
> applications. We are careful to make sure the ports do not conflict and
> there are plenty of resources to support both; memory and CPU.
>
> Recently the statement has been made that the two instances can conflict
> with each other and cause issues and instability with the applications.
>
>  Is this true? I was under the impression that since they are in their own
> JVM's neither tomcat would have any affect on the other. If there are issues
> in what form may they take place?
>
>   
David,
That is an unfounded superstition.
You can run multiple Tomcat (and different versions) on the same box.
Your only constraint is the available disk/RAM/CPU resources.

When you hear about private java hosting, it is essentially
a single box running 30 to 100 installations.


-- 
Regards

Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers


---------------------------------------------------------------------
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