May be your tomcat is configured to server only limited number of clients so it doesn't use all hardware power when you deploy two tomcats you can serve twice as much clients.
I would say tune tomcat configuration to accept more clients connections. Palko On Mon, 2008-11-10 at 11:56 +0530, Nishi Kant wrote: > Hi All, > > > > I'm trying to optimize the performance of my server, which is deployed > in a cluster environment using Apache Load balancer and Tomcat > container. mod_jk is used to communicate between load balancer and > tomcat container. Apache is configured to use worker MPM mode. I have > done various tests to find optimized tomcat, apache and Linux > configuration for my application. Following are the machines I'm using > for this load test. > > > > Machines configurations > > ------------------------------------ > > Apache Load balancer:: 2.8 GHz Dual Core , 4GB RAM > > Tomcat :: 2.66 GHz 2 CUP, Dual Core, 6 GB RAM > > > > > > There is an interesting observation when I alter my configuration to run > multiple tomcat instances on same machine. My throughput increases to 2 > times the original throughput if I run 2 instance of tomcat instead of > single tomcat instance. I'm trying to understand this behavior as I'm > not very keen in running multiple tomcat instances on same machines. > > > > Thanks, > > Nishi > > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]