Identifying hanging threads
Forum members,
I am getting hanging threads in my RTC application, which I can identify in the system.out log, and also the Active Services page in CCM's Application Adminstration, but I don't know where they are coming from. The user who gets the attribution is our common jts account.
Some commonalities are the following:
It is always our common account that sets it off
The scenario in the active services window is almost always Scenario: com.ibm.team.process.editProjectArea, though sometimes it is com.ibm.team.process.editProjectArea/Save
The system.out log always notifies me of the hanging thread after 11 or so minutes, and the thread usually is closed by about 65 minutes
There is usually a user id that comes with the system.out entry, though it is apparently useless, as the user in question knows nothing about the source of the hanging thread
I've been tracking this problem for several days. It seems random, there are no patterns to the events, and some days are really busy, while others are not. I've tried to analyze the stack traces that accompany the events, but I can't find anything conclusive. There are about 9 or 10 common .java files at the top of these traces, but they look to be just standard eclipse .java files, so I haven't learned anything from them.
Does anyone know if finding the cause of a hanging thread is even possible? Am I trying to tackle a problem too large? Any hints?
I appreciate your help.
|
One answer
If the threads eventually finish, they are not "hanging". I would call them "long-running" threads instead, but will use the term "hanging threads" thereafter to keep it simple.
Comments
Ryan Boyce
commented Mar 16 '17, 1:04 p.m.
Thanks for your response. I think you were right; nothing really came of my investigation, and the problem didn't seem to be connected in any plausible way. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.