report #7898
closedusing jstack on cdmserver with jsvc reports all non native threads as BLOCKED
100%
Description
in the cdm-server many threads are blocked.
Analysis of this situation:
(Used tool: http://fastthread.io)
cdmserver started in eclipse via cdm-server - start cdm-webapp.launch
with one instance
stacktrace taken by
jstack <pid>
cdmserver on edit-production after running for ~24 hours
stacktrace can only be taken by using the -F
option:
jstack -F <pid>
otherwise jstack can not attach to the process: 30162: Unable to open socket file: target process not responding or HotSpot VM not loaded
IN this stack trace all non native threads are blocked:
An other option to take stackstraces is using jvisualvm
which can attach to the process via the jmx port. The stacktrace taken this way is perfectly usable.
Conclusion: jsvc makes it harder to analyse performance problems on the servers since jstack can not be used to get thread dumps on the commandline¶
Files
Related issues
Updated by Andreas Kohlbecker over 5 years ago
- File edit-test-starting-up.png added
- Description updated (diff)
Updated by Andreas Kohlbecker over 5 years ago
- File edit-test-0h.png added
- Description updated (diff)
Updated by Andreas Kohlbecker over 5 years ago
next thing to test: start cdm-server without jsvc and analyze the stacks again.
Updated by Andreas Kohlbecker over 5 years ago
- Subject changed from many BLOCKED threads in the cdmserver to using jstack on cdmserver with jsvc reports all non native thrads as BLOCKED
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 50
Updated by Andreas Kohlbecker over 5 years ago
Updated by Andreas Kohlbecker over 5 years ago
- File deleted (
edit-test-starting-up.png)
Updated by Andreas Kohlbecker over 5 years ago
- Description updated (diff)
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Updated by Andreas Kohlbecker over 5 years ago
Conclusion: jsvc makes it harder to analyse performance problems on the servers since jstack can not be used to get thread dumps on the commandline
Updated by Andreas Kohlbecker over 5 years ago
- Related to task #5375: cdm-server without jsvc added
Updated by Andreas Müller about 3 years ago
- Subject changed from using jstack on cdmserver with jsvc reports all non native thrads as BLOCKED to using jstack on cdmserver with jsvc reports all non native threads as BLOCKED
Updated by Andreas Müller about 3 years ago
This ticket is marked as resolved and 100% in Unassigned milestone. Can we fully close it and remove milestone or move to correct milestone?
Updated by Andreas Kohlbecker about 3 years ago
- Status changed from Resolved to Closed
Updated by Andreas Müller almost 3 years ago
- Target version deleted (
Unassigned CDM tickets)