: Pointers on diagnosing session and thread hangs
For curiosity's sake, why did you roll your own DB pooling, rather than
letting Tomcat manage it?
That is a good question and one I am not sure I can easily answer since
the base code I am working with was originally written by someone else 6
will need to find out why the code is structured this way,
particularly the makeObject calls. And, again, the thread dump has been
very helpful in sorting this all out.
Pete
Caldarale, Charles R wrote:
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session
To: users@tomcat.apache.org
Subject: Re: Pointers on diagnosing session and thread hangs
For curiosity's sake, why did you roll your own DB pooling, rather than
letting Tomcat manage it?
That is a good question and one I am not sure I can easily answer since
the base code I am working
It was helpful in at least getting us to the lines of code that needed
some investigating. It appears to be a blocking issue in our JDBC
connections although we don't know what is the cause and why it is so
random. Spent quite a bit of time looking into issues with the Commons
jars, DBCP and
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
I am looking at the DB Manager code I wrote to see if I am doing
something wrong in implementing the pooling.
For curiosity's sake, why did you roll your own DB pooling, rather than
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pete,
On 6/18/2009 10:52 AM, Pete Helgren wrote:
Thanks. Looking at the dump I can see there is an issue with a DB
manager we wrote (Blocking). I'll investigate further.
It's amazing what you can learn just from looking at a few thread dumps
of
, on of which crashed with 825 threads
running last night, but I'll continue to pursue a tool that will do
something similar and run in Windows.
Pete
Caldarale, Charles R wrote:
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
*How* do you dump
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
jstack is not currently available on Windows platforms
Move to a 1.6 JDK; your performance will improve, and you have access to more
tools, including jstack.
- Chuck
on diagnosing session and thread hangs
jstack is not currently available on Windows platforms
Move to a 1.6 JDK; your performance will improve, and you have access to more
tools, including jstack.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
Not sure how much change to the environment we want to make
before we track down the issue but going to 1.6 is something
we'll consider.
For JDK 1.5, you can try these:
If you're
, Charles R wrote:
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
Not sure how much change to the environment we want to make
before we track down the issue but going to 1.6 is something
we'll consider.
For JDK 1.5, you can try
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
when a thread dump is run, by either method, does Tomcat
stop running at that point?
Nope, keeps on ticking. When you have a hang situation, you usually want to
take several thread
session and thread hangs
when a thread dump is run, by either method, does Tomcat
stop running at that point?
Nope, keeps on ticking. When you have a hang situation, you usually want to
take several thread dumps a few seconds apart and compare.
- Chuck
THIS COMMUNICATION MAY CONTAIN
We are having a devil of a time tracking down why a web app is hanging
while running in Tomcat. We are running version 5.5.27 in Windows XP
with 2Gb RAM. The symptom is that randomly a user will report that they
cannot log into the application. When we view the Tomcat application
using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pete,
On 6/17/2009 8:33 AM, Pete Helgren wrote:
I am not an expert by any stretch in Tomcat internals so what I need
is a way to determine what is causing the sessions to hang and the
threads to begin to grow beyond the maximum (650 in our case).
Thanks Chris.
I'll see if I can get the relevant sections from the server.xml. The
folks who have access to the server have gone home for the day.
You said:
Can you also post a thread dump? I'm surprised that Tomcat is exceeding
(or appearing to exceed) its own limit on request processing
From: Pete Helgren [mailto:p...@valadd.com]
Subject: Re: Pointers on diagnosing session and thread hangs
*How* do you dump a thread? And, what is in it?
It's not a thread dump, it's a thread dump - a capture of the call stacks
of every thread currently running inside a JVM. The jstack tool
17 matches
Mail list logo