On Thu, 20 Aug 2009, Phani Raj Kumar wrote:

> Here is the info:
> *JDK version* : j2sdk1.4.2_11
> *Tomcat Version*: jakarta-tomcat-5.0.28
> *OS*: SunOS burton 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V440
> *CATALINA_OPTS*="-Xms64m -Xmx256m"
> 
> I didn't get any error messages in the log, but even running the tomcat
> alone without any applications in it taking 100% cpu.

For how long did you wait for the CPU usage to drop?
Tomcat does, at startup, run for a while at almost 100% CPU usage - for
how long, depends largely on the speed of your machine.

If you haven't done so yet, you could try letting the Tomcat run for
something like five minutes; with that machine, I would expect the
CPU usage to return to near-zero in less than two minutes.

If the CPU usage is at 100% level still after the five minutes, you could
take a thread dump of the Java process (by sending a QUIT signal, with
"kill -QUIT tomcat_PID"), and looking at the per-thread CPU usage with
successive "ps -fLp tomcat_PID" commands, and then correlate the thread
ID from the thread dump with the thread you see with the "ps" outputs
as being the largest user of CPU time.
-- 
..Juha

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to