Replication slower in AEM6.2 versus prior AEM6 versions
Replications and other sling jobs are processed slower in AEM6.2 versus other AEM versions.
To validate if you are experiencing this issue in your AEM environment, then check the following:
- Go to http://aem-host:port/crx/de/index.jsp and log in as admin.
- Browse the nodes under these two paths:
- Expand subnodes under the paths to see if there are many job nodes. If you find many nodes, then it is likely that you are experiencing this issue.
In thread dumps you might see threads like the one below:
It is a known product issue.
I. Prevent new jobs from getting stuck
A. If you do not use Adobe Target with AEM
...then you can safely disable Delete Adobe Target Activity Listener by doing the following:
Uncheck the Service enabled box and save.
B. If you use Adobe Target with AEM
You can either install AEM6.2 Service Pack 1 (SP1) or if you are not ready to install SP1 then contact AEM Customer Care and request AEM6.2 hotfix 10684.
II. Delete the failed com.adobe.integrations.target.deleteauthoractivity jobs
Go to http://aem-host:port/crx/explorer/index.jsp and log in as admin.
It may take a long time to delete and tax the system greatly. To avoid an outage, you may want to browse to subfolders and break up the deletion up into smaller steps.
Right click a sub-node of com.adobe.integrations.target.deleteauthoractivity and select Delete Recursively.
Uncheck the Preliminary Scan box.
It may take a very long time to delete and tax the system greatly. Break up the deletion into lower subfolders if required.
After all deletions in the unassigned folder are done then repeat the same deletion under the cancelled folder /var/eventing/jobs/cancelled/com.adobe.integrations.target.deleteauthoractivity.
Deleting thousands of nodes can greatly tax the resources of an AEM environment. Due to this, you should wait for a time when few users are using AEM before performing the steps above.