Unless you have real memory requirements, one tomcat instance is
better, at least in terms of maintenance. There is no real advantage
in multi-instancing.

But the limit for max memory you can effectively use in your java
program on a 32bit linux, i assume you use (same for windows),
lies far below  2Gb.

If you need more ram you should consider upgrading to a 64 bit OS / VM.

Leon

On 3/14/07, Wenca <[EMAIL PROTECTED]> wrote:
Hi all,

I am now preparing the deployment scenario for our new webapp and I am
not sure if it is better to have one Tomcat instance per server machine
or to have more instances.

I have 3 servers - dual Intel Xeon 3GHz, 4GB RAM each (about 3GB is
available for Tomcat etc.).
There will be running only about 2-3 webapps. No need to separate webaps
to different JVMs.
Servers will be in a cluster behind a load balancer. In fact it will be
clustered probably with Open Terracotta sessions.

So, is it better (due to performance and number of concurrently served
users) to have one Tomcat instance per machine, running in JVM with 2GB
heap size (I know this is limit on 32bit system) or to have 2 TC
instances (say 1.3GB each) or 3 TC inst. (0.9GB each), 4 inst., .....

Thank you very much
Wenca

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to