Thank you to the several people who made suggestions, either on the list
or by direct email!
I think I have solved the problem by simply using the -server option to
java when starting tomcat. By default tomcat uses the default VM, which
for Sun JDK1.5 is the client VM. By default the client
Hi, Lindsay,
Sorry for my ignorance, but seeing that you were trying to locate the
thread using PID, I think perhaps it's wrong. I have the same
experience identifying such a CPU utilization issue on a Debian box
using a 2.6.x version kernel. I cannot recall whether on a 2.4.x
kernal linux box
I am looking for information on how to debug a problem. Any pointers to
documentation, suggestions of approaches etc. would be much appreciated.
I am having a problem with my tomcat server periodically going into a
state where it is using up all the available cpu and providing very slow
On 9/21/07, Lindsay Patten [EMAIL PROTECTED] wrote:
[ ...stuff elided...]
If I look at the system status using the Tomcat manager webapp there are
often requests listed with ridiculously large values in the Time column,
several hundred seconds for jsp pages that only take a fraction of a
From: Lindsay Patten [mailto:[EMAIL PROTECTED]
Subject: 100% cpu usage by VM Thread in tomcat
Expecting to find that I had some error in my webapp I did a
few thread dumps, but assuming that nid in the thread dump
corresponds to pid from ps I found that the process that was
spinning
of the production server to see how I can
use it...
Further suggestions very welcome!
Thanks,
Lindsay
Caldarale, Charles R wrote:
From: Lindsay Patten [mailto:[EMAIL PROTECTED]
Subject: 100% cpu usage by VM Thread in tomcat
Expecting to find that I had some error in my webapp I did a
few
From: Lindsay Patten [mailto:[EMAIL PROTECTED]
Subject: Re: 100% cpu usage by VM Thread in tomcat
I need to figure out how to reproduce the situation out of
the production server to see how I can use it...
For an initial check, set -Dcom.sun.management.jmxremote for the Tomcat
startup