-
Suggestion
-
Resolution: Fixed
-
None
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Adding this parameter to the server.xml will log stuck threads in the catalina.out:
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
This will log any request thread (eg http thread) that has been processing for more than 60 seconds. This will not log background threads, eg scheduled jobs or any long running operation that processes in the background, like import/export, reindex etc.
If you are expecting to see something in these logs that you do not, that does not mean it is not running for more than 60s. It likely just means it is not running in a request thread. Thread dumps over time are still the best way to diagnose long running threads.
- is related to
-
JRASERVER-60546 Ship Tomcat's long running (stuck) thread logging by default
- Closed
- relates to
-
CONFCLOUD-40977 Ship Tomcat's long running (stuck) thread logging by default
- Closed
[CONFSERVER-40977] Ship Tomcat's long running (stuck) thread logging by default
Workflow | Original: JAC Suggestion Workflow 4 [ 3569178 ] | New: JAC Suggestion Workflow 3 [ 4339128 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 564030 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3180249 ] | New: JAC Suggestion Workflow 4 [ 3569178 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3039861 ] | New: JAC Suggestion Workflow 2 [ 3180249 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2527133 ] | New: JAC Suggestion Workflow [ 3039861 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2275471 ] | New: Confluence Workflow - Public Facing v4 [ 2527133 ] |
Labels | Original: affects-server bugfix loyalty | New: affects-server loyalty |
Labels | Original: affects-server bugfix | New: affects-server bugfix loyalty |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2171977 ] | New: Confluence Workflow - Public Facing v3 [ 2275471 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1947474 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2171977 ] |