Debugging Tomcat hangs

2005-10-18 Thread David Boyer
We're running Tomcat 5.0.28 with JDK 1.4.2_8 hosting a single commercial web application on our web server which uses MySQL 4.0.26 running on another server. Both servers are Windows 2003 Enterprise, 2x3.0GHz XEON, 4GB RAM. Our Tomcat instance is dedicated to the commercial web app, and the

Re: Debugging Tomcat hangs

2005-10-18 Thread Leon Rosenberg
can you port your application to linux where kill -quit given you complete stacktrace? Unfortunately I don't know how to create full stack trace under windows, but you'd need it definitely. Have you tried the manager? It could show you the servlets/actions/whatever which hangs. Probably you have

Re: Debugging Tomcat hangs

2005-10-18 Thread David Delbecq
One stupid suggestion is to run the tomcat inside an environment like eclipse with an eclipse plugin like sysdeo. Then stress the webapplication. When, it 'hangs' issue a 'pause' inside the tomcat jvm, and explore the various threads. Search for 2 kinds of locks: - non returning http-thread

RE: Debugging Tomcat hangs

2005-10-18 Thread Robert Graf-Waczenski
If I generate a dump of the JVM using Ctrl-Break while running Tomcat as a console app, what's the best resource for interpreting this? I suspect the problem is a thread deadlock, or something similar. This tells us that you succeed in getting a JVM thread dump and you are asking for help

RE: Debugging Tomcat hangs

2005-10-18 Thread David Boyer
I understand synchronization and deadlocks. I'm just looking for some guidance. (1) Based on the problem I've described, is an analysis of a JVM thread dump a good next step for diagnosing the hang, or else what would be and (2) are there any resources that would be helpful with that analysis

Re: Debugging Tomcat hangs

2005-10-18 Thread Leon Rosenberg
On 10/18/05, David Boyer [EMAIL PROTECTED] wrote: (2) are there any resources that would be helpful with that analysis (e.g. something that I can use as a tutorial for understanding everything the dump contains). Take a look at: http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 We had

RE: Debugging Tomcat hangs

2005-10-18 Thread Robert Graf-Waczenski
, October 18, 2005 4:03 PM To: users@tomcat.apache.org Subject: RE: Debugging Tomcat hangs I understand synchronization and deadlocks. I'm just looking for some guidance. (1) Based on the problem I've described, is an analysis of a JVM thread dump a good next step for diagnosing the hang