Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-5732

OffThreadEventJobRunner uses an unbounded ThreadPoolExecutor that can exhaust the DBCP

      OffThreadEventJobRunner#startup() calls Executors#newCachedThreadPool(ThreadFactory), which constructs a ThreadPoolExecutor with a maximumPoolSize of Integer.MAX_VALUE. Each job execution thread consumes a connection from the DBCP most of the time it’s alive, so an unbounded number of these threads that grows too large can exhaust the DBCP.

      h/t dwlizlo

          Form Name

            [JSDSERVER-5732] OffThreadEventJobRunner uses an unbounded ThreadPoolExecutor that can exhaust the DBCP

            No work has yet been logged on this issue.

              mchandra@atlassian.com Mohil Chandra
              dazabani Delan Azabani (Inactive)
              Affected customers:
              17 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: