> From: Mark Stevens [mailto:[EMAIL PROTECTED] 
> Subject: Re: Tomcat consuming entire CPU.
> 
> Every time I capture the thread using much higher percentage CPU than
> all other threads, it's pointing to '
> 
> "VM Thread" prio=5 tid=0xb12f8 nid=0x4 runnable

This is a high-priority background thread that is mostly an internal JVM
operations dispatcher.  It's not a Java thread, which is why there's no
stack trace.  I think (not positive) that it's also the thread that
prints the thread dump, so it's always going to appear as runnable in
that output.

Although you stated the heap was not full, I wonder if the PermGen is at
its maximum?  If you run JConsole on your live Tomcat, go to the Memory
tab, and look at the set of non-heap columns on the bottom right.  If
any of these are approaching 100%, that could be the problem.

> when trussing the main Tomcat process it's performing 
> hundreds/thousands of
> 
> stat64("<jar file including path>", 0xDBE7EDA8) = 0 against the Jar
> files in the directory for each jar contained in the webapp I'm
> troubleshooting.

Sounds like you still have some development-mode configuration settings
in place.  Check for <WatchedResource> settings in your <Context>
elements.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to