AEM not creating live copies of experience fragments
When Adobe Experience Manager (AEM) fails to create live copies of experience fragments, it’s often due to rollout jobs getting stuck in the queue. This issue affects all users and environments, and can lead to a backlog of jobs that remain unprocessed for days. To fix this, adjust the job queue configuration, clear stuck jobs, and verify rollout settings.
Description description
Environment
- Product: Adobe Experience Manager (AEM) as a Cloud Service – Sites
- Environment: Production
Issue/Symptoms
- Live copies of Experience Fragments are not being created.
- Rollout jobs remain queued for extended periods, with some jobs stuck for over two days.
- High count of active jobs observed in the system.
- The issue impacts all users and is reproducible across environments.
Resolution resolution
To resolve the issue with stuck rollout jobs and missing live copies of experience fragments, follow these steps:
-
Open the Developer Console and review the Apache Sling Job Queue Configuration settings.
-
Clear any queued or stuck jobs to free up system resources:
-
Go to
/libs/cq/search/content/querydebug.html
. -
Use the following query for stuck jobs under
/var/eventing/jobs/assigned
.code language-none type=slingevent:Job path=/var/eventing/jobs/assigned
-
-
Check for any custom rollout configurations that could interfere with job processing.
-
Test all changes in a staging environment before applying them in production.
Additional configuration: Update the queue.maxparallel
value for the org.apache.sling.event.jobs.QueueConfiguration asyncprocess
configuration. Refer to AEM 6.x | Performance Tuning Tips for more details.
If the issue continues, monitor system performance metrics like CPU and memory usage, and escalate for further debugging if needed. After resolving the issue, regularly monitor job queues to prevent it from happening again.
Related reading
- Using AEM Experience Fragments in AEM Sites Tutorials.
- Content Fragments and Experience Fragments in AEM Sites Tutorials.