We had a period of slow response followed by an outage yesterday due a number of threads in JIRA hanging on the following:
at java.util.concurrent.CopyOnWriteArrayList.indexOf(CopyOnWriteArrayList.java:150)
at java.util.concurrent.CopyOnWriteArrayList.contains(CopyOnWriteArrayList.java:188)
at com.atlassian.jira.user.osuser.JiraOFBizAccessProvider.handles(JiraOFBizAccessProvider.java:73)
at com.opensymphony.user.UserManager.getProvider(UserManager.java:269)
at com.opensymphony.user.UserManager$Accessor.getAccessProvider(UserManager.java:339)
at com.opensymphony.user.Entity.getAccessProvider(Entity.java:100)
at com.opensymphony.user.Group.containsUser(Group.java:121)
Please find the thread dump attached.
We have restarted the application and I haven't seen a repeat of those threads yet but would like any advice on what may have caused the threads to hang. Here are the top three groups by size. Is there known issues when groups get to a particular size? We can try to reduce jira-users if required. We are using jira-users in a few permission schemes as well. Should we take it out of those permission schemes?
jira-users 4661
Markit Internal 2506
confluence-users2471
I also noticed that the issue seems to be triggered primarily during Filter Table requests:
com.atlassian.jira.gadgets.system.IssueTableResource.getFilterTable(IssueTableResource.java:213)
Has anyone experienced similar issues to this before?