Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
Description
Problem Definition
Currently there is no way to monitor the Jira Issue Macro items that are in the queue, when there is an issue we can see an error message indicating pool size, active threads, queued tasks, etc.:
2020-06-15 22:34:07,855 ERROR [http-nio-8080-exec-740] [xhtml.view.macro.ViewMacroMarshaller] handleMacroExecutionException Error rendering macro: jira -- url: /confluence/pages/viewpage.action | traceId: 6c5728dda552200f | userName: <username> | action: viewpage | page: <pageid> java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@a616946 rejected from java.util.concurrent.ThreadPoolExecutor@3e4f88f6[Running, pool size = 5, active threads = 5, queued tasks = 1000, completed tasks = 1585899]
But 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 Confluence MBeans for example, and in that way, we could suggest Live Monitoring Using the JMX Interface.
Why this is important
There is currently no other way for Confluence administrators to monitor the pool for Jira Issue Macros and that would be useful for them to resize the values based on concrete information of their environment if needed.
Workaround
n/a