Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-40977

Ship Tomcat's long running (stuck) thread logging by default

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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.

            [CONFCLOUD-40977] Ship Tomcat's long running (stuck) thread logging by default

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3408930 ] New: JAC Suggestion Workflow 3 [ 3625748 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2250684 ] New: JAC Suggestion Workflow [ 3408930 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2146742 ] New: Confluence Workflow - Public Facing v3 [ 2250684 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1904510 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2146742 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1801532 ] New: Confluence Workflow - Public Facing v3 [ 1904510 ]
            jonah (Inactive) made changes -
            Description Original: Adding this parameter to the server.xml will log stuck threads in the catalina.out:
            {code}<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
            {code}

            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.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *Confluence Cloud*. Using *Confluence Server*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFSERVER-40977].
              {panel}

            Adding this parameter to the server.xml will log stuck threads in the catalina.out:
            {code}<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
            {code}

            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.
            jonah (Inactive) made changes -
            Link New: This issue is related to CONFSERVER-40977 [ CONFSERVER-40977 ]
            vkharisma made changes -
            Link New: This issue is related to JRACLOUD-60546 [ JRACLOUD-60546 ]
            vkharisma made changes -
            Project Import New: Sat Apr 01 14:06:06 UTC 2017 [ 1491055566265 ]
            Confluence Escalation Bot (Inactive) made changes -

              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: