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:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 3:45 PM > To: Tomcat Users List; [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > > >>-----Original Message----- >>From: Brandon Cruz [mailto:[EMAIL PROTECTED]] >>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:[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]>
