[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tomcat under heavy load



First, I would look to ensure the bottleneck is indeed Tomcat. It could be 
any number of things - network, firewall, hardware, OS, JVM, database 
etc... What is the CPU %? Are you seeing many full-gcs?

Once you've identified the bottleneck, then you can begin the process of 
performance tuning.

I suspect, simply swapping out Tomcat with another container will not solve 
your problem.

Jason

At 11:38 AM 7/24/2003 -0400, pommele@mindspring.com wrote:
>Hello,
>We've recently setup serveral servers behind a load balancer and are 
>getting poor performace from tomcat. Our setup:
>
>load balancer
>3 web servers:
>1 cpu 1g ram
>linux redhat 8
>jdk 1.4.1_02
>tomcat 4.1.18
>     server.xml
>      <Connector  className="org.apache.coyote.tomcat4.CoyoteConnector"
>         port="80"
>          debug="0"
>          minProcessors="200"
>          maxProcessors="1200"
>          acceptCount="10"
>          />
>
>vm params
>JAVA_OPTS="-Xincgc -Xms768M -Xmx768M"
>
>the site is very simple, most pages have sessions diables but we can't 
>seem to maintian more than 300 connections before a server becomes 
>unresponsive.  Is 300 connections all i can expect?  I really need to be 
>able to handle about 600 connects at peek.
>
>Does anyone have experiece with a setup like this?  Any tips on getting 
>better performance out of tomcat? Is there a better version of Tomcat? 
>Would Jetty or Resin be any better?
>
>Any thoughts would be appreciated,
>Mike Fortin