We have an application which leaks a bit of memory, a bit being an understatement.
I am using jvisualvm
to try and find what is causing the problem.
I see the thread count grow quite a bit on threads starting with the name: http-8080- example: http:8080-42
My first guess is that each of those threads is a request hit from the client, as each client request is handled in its own thread.
My my problem is that those threads have been running for long periods of time (Thus far 10mins).
My question is this:
Is my assumption correct?
If so, why is it that the Threads run for such a long time? Surely it can't still be busy serving the clients request?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…