-
Bug
-
Resolution: Fixed
-
Medium
-
4.4, 4.4.4, 6.0.8, 6.1.4, 6.1.7, 6.3.1, 6.4.5, 6.4.7, 6.4.12
-
4.04
-
We have made mention in the directory configuration page that enabling nested groups in JIRA can cause performance issues. The level of slowness depends on the number of groups, users and the level of nesting. During the cause of support, we have identified that with the following statistics, JIRA is extremely slow to the extend that even viewing issues takes close to two minutes:
about 7000 users about 700 groups about 6-7 levels of nesting most user belong to the last level of group,few belongs to higher level group.
Upon disabling the nested feature, JIRA becomes stable even with 100 concurrent LDAP users logged in to JIRA. The cause of the performance is attributed to the fact that permissions calculation in JIRA is very expensive and JIRA has a lot of lookups to do when users try to perform operations.
Workaround for Active Directory
Please refer to the workaround in CWD-2082 if using Crowd Standalone. Ensure that 'Use nested groups' is also disabled in the user directory in JIRA.
If you are using Active Directory you can eliminate this problem using filter directives to delegate the nested calculations to the Active Directory server. This is not available for other LDAP servers.
- In JIRA, go to System > User management > User Directories.
- Edit the user directory that syncs with Active Directory.
- In Advanced Settings uncheck the box nested groups
- In Membership Schema Settings...
- Change Group Members Attribute to "member:1.2.840.113556.1.4.1941:"
- Change User Membership Attribute to "memberOf:1.2.840.113556.1.4.1941:"
- Check the box for Use the User Membership Attribute ... When finding the user's group membership (in other words check both checkboxes)
- Save the changes
- Perform a full synchronization of the User Directory.
- is caused by
-
JRASERVER-43605 Reduce amount of resources checked by servlet from jira-baseurl-plugin
- Closed
- is related to
-
JRASERVER-43615 Request cache for groups which user belongs to
- Closed
- relates to
-
CWD-3809 ApplicationServiceGeneric#searchNestedGroupRelationships performs n+1 queries in order to shadow users
- Closed
-
JRASERVER-26830 JIRA is extremely slow when Nested group is enabled in LDAP and lone child-groups are imported due to improper search filter
- Closed
-
JRASERVER-27827 Provide users the opportunity to edit LDAP details and change the user schema settings when using delegated directory
- Gathering Impact
-
CWD-2082 Use tokenGroups attribute for nested group retrievals on AD
- Gathering Interest
-
JSP-219862 Loading...
-
JSP-220572 Loading...
-
JDEV-29458 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...