Thanks Mark! That's some good advice. I haven't moved on to "tweaking" the JVM yet, I know there are some options I can use to increase performance, but I'm not to that point yet.
I'm sticking with the standalone for simplicity. I'll likely turn this over to someone else, and the fewer parts, the better. We examined using Apache and JServ, and a coworker informed me the installation wasn't that straightforward. The logging tip is a good one, thanks! -----Original Message----- From: Mark Annal [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:58 AM To: Tomcat Users List Subject: RE: Configuration for High TPS We ran some high TPS testing recently using a Sun 220R running Solaris 8. We were running an Apache/Tomcat combination using the mod_webapp connector. Just running a dumb simple servlet we were topping out at 165 tps and 80% CPU. We tried repeating the test using Tomcat standalone trying to figure out where the bottleneck was. We still topped out at 165 tps despite everything we tried to tweak. Our CPU was drastically reduced though to 40%. After running some e-mails through this list, the consensus was that we needed to tweak with our JVM as this was probably the cause of our "ceiling". Not the web server configuration and not the horsepower on the machine. Actually, in standalone mode, we could not drive our CPU load beyond 40%. So far, we haven't had a chance to research this further and our production app is not pushing any limits just yet so its on the back burner. By the way, check how much stuff your Tomcat installation is logging. The default configuration is pretty verbose and this consumes large amounts of horsepower writing it all to disk. WinNT isn't overly good at walking and chewing gum and a lot of disk activity can drain resources pretty quickly. _________________________________________________________________ Mark Annal e-mail: [EMAIL PROTECTED] TARGUSinfo phone : (585) 598-7011 255 Woodcliff Drive fax : (585) 598-7001 Fairport, NY 14450 web : www.targusinfo.com _________________________________________________________________ -----Original Message----- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 2:32 PM To: Tomcat Users List Subject: RE: Configuration for High TPS Have you integrated Tomcat with another webserver for the static content, assuming you have some. That would more than likely improve performance. > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:52 PM > To: 'Tomcat Users List' > Subject: RE: Configuration for High TPS > > > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html > > John Turner > [EMAIL PROTECTED] > > > -----Original Message----- > From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 1:50 PM > To: 'Tomcat Users List' > Subject: RE: Configuration for High TPS > > > Where can I find documentation on the Coyote connector (such > as the exact > class name)? > > What is really bothering me (currently), is once I start > getting connection > errors, my CPU usage (roughly) doubles, and I get connection > errors much > more easily (as if acceptCount was reduced somehow). Any ideas on the > cause/solution for this? > > -----Original Message----- > From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 10:31 AM > To: 'Tomcat Users List' > Subject: RE: Configuration for High TPS > > > what version of tomcat are you running? In the 4+ versions > the Coyote HTTP > connector is supposed to perform better. > > > -----Original Message----- > > From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] > > Sent: Friday, August 09, 2002 12:23 PM > > To: Tomcat Users List > > Subject: Configuration for High TPS > > > > > > I'm attempting to configure Tomcat for a test environment to > > handle a high > > number of transactions per second (TPS) and would like any > > advice others may > > like to contribute. The machine is a fairly powerful dual > > processor machine > > (1+ GHz) running WinNT. I'm using a tool to send requests, > > where I can > > specify the TPS and number of requests total to send. > > > > I'm running the following with "ok" results, but I'm > interested in any > > suggestions or better explanations of some of the fields: > > > > <Connector > > className="org.apache.catalina.connector.http.HttpConnector" > > port="8080" minProcessors="200" maxProcessors="200" > > enableLookups="true" redirectPort="8443" > > acceptCount="2000" debug="0" > > connectionTimeout="60000"/> > > > > Perhaps my biggest problem is the number of connections > > Tomcat accepts fills > > up rather quickly, some of the connections my tool generates > > are refused > > (presumably due to the acceptCount limit being reached, and I > > have increased > > it a couple times). > > > > Any advice would be appreciated! > > > > Jeff > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>