tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@mail.more.net>
Subject Re: Can someone PLEASE tell me why tomcat uses so much CPU???
Date Mon, 30 Sep 2002 21:06:59 GMT
You may want to start Tomcat with the java -verbose:gc arg next time.
Information about TC including how long it took will be sent to stdout.

This behaviour could be related to your JVM memory configuration/stack usage
and garbage collection.

Brandon Cruz wrote:
> Mike,
> 
> Thanks for answering.
> 
> I'm using Sun's JDK 1.3.1_01.
> 
> We have been running this in production for over year and I think we have
> always had the problem.  Since 3.2.4 requires restart whenever a web
> application is changed, it used to just get restarted often enough so that
> nobody ever noticed.  There are enough people using the application now that
> it is becoming more and more noticable.  I'm afraid that we are getting
> close to a point where it will be necessary to restart tomcat every day.  It
> also slowly increases the amount of RAM it uses, but that's a whole
> different story and I just want to find out one answer at a time.
> 
> Has anyone else experienced this and found a resolution to the problem?  I
> have seen many posts but no answers...
> 
> 
> 
> -----Original Message-----
> From: Mike Jackson [mailto:mjackson@cdi-hq.com]
> Sent: Monday, September 30, 2002 3:45 PM
> To: Tomcat Users List; bcruz@norvax.com
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> 
> What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
> etc
> with IBM's 1.3 jdk and don't experience anything like that.
> 
> --mikej
> -=-----
> mike jackson
> mjackson@cdi-hq.com
> 
> 
>>-----Original Message-----
>>From: Brandon Cruz [mailto:bcruz@norvax.com]
>>Sent: Monday, September 30, 2002 1:57 PM
>>To: Tomcat Users List
>>Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>>
>>
>>Hi,
>>
>>I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
>>processes slowly take more and more CPU power.  After about a day, java is
>>taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
>>I leave it
>>running for more than three or four days, everything is VERY slow.  Does
>>anyone know why this happens and if it is normal?
>>
>>I have not been able to find an answer to this anywhere!
>>
>>Brandon
>>
>>
>>--
>>To unsubscribe, e-mail:
> 
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message