tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Vmware and Tomcat 5.x & 6.x
Date Tue, 25 Sep 2007 01:44:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mitesh,

Mitesh Shah wrote:
> Thanks Chris for reply. Clarion is SAN, so all are data and OS partitions
> are on SAN.

Okay. That shouldn't be a problem.

> Whole server works fine but our application works using tomcat and I have
> installed around 20 instances of tomcats on one virtual machine (2.66GHz and
> 4GB RAM).

OMG that is a /lot/ of Tomcat instances. How many request-handler
threads do you have configured for each?

> On similar line, does JDK takes advantage of two CPU compared to
> one CPU?

You didn't say what JDK version you are using, but unless you have
something that is seriously out of date, the JDK will use as many CPUs
as you have available to the VM.

> I can reconfigure Swap file on separate disks than OS disk and see if it
> performs better.

With 20 JVMs running on a 4GB machine, I'd say that swapping is going to
be a huge problem. Try running a single instance to see how it works
out. If that is reasonably fast, then try adding more instances until it
starts to suck. Then, check your swap file usage and I'll bet you'll see
that at some point, you start to heavily swap. You're not seeing Tomcat
hosing... you're seeing your OS thrashing.

- -chris

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

iD8DBQFG+GgH9CaO5/Lv0PARAuAWAJ98MOnNnZzJay8SwaG8ieSjmCrDAACgrS1S
qVirHsVVczlbKe6GVKpoZ7Y=
=I6VL
-----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


Mime
View raw message