How to I dump the threads, there doesn't seem to be an option in the Profiler. The tomcat start/stop manager has a dump threads option, it doesn't seem to do anything when I click it. Here's some additional information from the profiler. It's a stack trace of the Timer-0 thread:

java.sql.DriverManager.getConnection(java.lang.String)
M5Classes.M5Connection.connect()
M5Classes.M5Connection <init>(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
_jprofiler_annotation_class.URL:/Tracks/servlet/Router()
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()

I think we have found the problem. Every time I make a connection, it leaves one of these threads hanging. Now whats the solution? That's the $50. question.

Thanks, Dan


Caldarale, Charles R wrote:

From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage

I looked at the profiler and it appears that there are many timer threads left hanging.

What do you mean by "timer threads"?  What does a thread dump show about
them?

- 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