Looks like my answer was a bit late... ;^) So ditto to what Pete said. That's what I get for not reading all my email first before I answer.
Michael -----Original Message----- From: Holly, Michael [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 9:00 AM To: Tomcat Users List Subject: RE: TC5 / Solaris CPU usage Dave You stated that after you start you app CPU goes to 50%. Have you tried bringing up TC without starting your app? Does load go to 50% then? I would try bringing up the server without the app started and see what the load is and then using TC manager start the app and see the effect. Maybe something isn't loading properly on app startup. What other classes/packages/jars does you app use? Not a solution but something to think about... Michael -----Original Message----- From: David Parfitt [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 4:40 PM To: [EMAIL PROTECTED] Subject: TC5 / Solaris CPU usage Hi - I'm having a problem using Tomcat 5.0.16 on Solaris 9. We've just upgraded to Tomcat 5 from 4.x and are having a problem with CPU usage. After we start our app, the CPU load goes to 50% and never goes below this number. Does anyone else have any experience with this problem? Running truss shows that Java is in a tight loop doing a yield(). (We don't have any code that uses threads outside of the Tomcat code, and we aren't in an infinite loop anywhere). We are using: java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) JAVA_OPTS="-server -Xms300m -Xmx1000m" export JAVA_OPTS I've also tried using these in JAVA_OPTS: -Xconcurrentio -Xincgc SunOS foo 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-280R Any help would be greatly appreciated! Cheers - Dave --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
