We use tomcat 5 on solaris 9 without this problem. Have you considered upgrading to 
the latest stable release 5.0.25?

Ta
Matt

-----Original Message-----
From: David Parfitt [mailto:[EMAIL PROTECTED]
Sent: 24 June 2004 22:40
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!
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to