Description of problem: Depending of the size of the groups along with the complexity of the rules and the interactions with other plugins ( typically in an IPA context ), the Auto Member rebuild task can generate performance issues ( for instance a high CPU usage when the Schema Compatibility plugin is called ). Therefore a customer would like to have an option to abort the rebuild task. Version-Release number of selected component (if applicable): RHEL 7.9 How reproducible: Was a 1 time issue at a customer site. Steps to Reproduce: Actual results: High CPU usage for several hours. Expected results: Allow to stop the task. Additional info:
Upstream ticket: https://github.com/389ds/389-ds-base/issues/5155
Created attachment 1859850 [details] Patch file for "RFE abort automember rebuild task" for 389-ds-base-1.3.10 branch This patch can be used to generate a hotfix for RHEL 7.9 that adds an abort task to cancel any running "automember rebuild tasks. This is an example on how to execute the task: # ldapmodify -D "cn=directory manager" -W dn: cn=my abort task, cn=automember abort rebuild,cn=tasks,cn=config objectClass: top objectClass: extensibleObject cn: my abort task In addition to the new "Abort Task" the database transaction handling was also changed around the rebuild task, and it "might" help improve the impact of the rebuild task. It would be good to know if the abort task is still needed after applying the hotfix.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: 389-ds-base security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5239