Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-74408

As a Jira Administrator, I'd like to have a better way to monitor the thread pool Jira uses for webhooks

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Webhooks
    • None
    • 0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      Currently there is no way to monitor the thread pool queue. When there is an issue, we can see an error message indicating pool size, active threads, queued tasks, etc.:

      Caused by: java.util.concurrent.RejectedExecutionException: Task com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable@1ef6143e<com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable@1ef6143e> rejected from java.util.concurrent.ThreadPoolExecutor@3a65b61f[Running<java.util.concurrent.ThreadPoolExecutor@3a65b61f[Running>, pool size = 10, active threads = 10, queued tasks = 200, completed tasks = 30604323]
      

      Before getting the error, we don't have a way to proactively monitor these values.

      Suggested Solution

      Add an option for live monitoring of the above values (pool size, active threads, queued tasks, and completed tasks) as JMX Monitoring Beans for example, and in that way, we could suggest using Live Monitoring Using the JMX Interface.

      Why this is important

      There is currently no other way for Jira administrators to monitor the thread pool successfully and that would be useful for them to resize the values based on concrete information of their environment if needed.

      Workaround

      n/a

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsanchez2@atlassian.com Jeremy Sanchez
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: