Troubleshooting delayed asset image processing in AEM as a Cloud Service
This article explains how to identify and troubleshoot intermittent delays where images uploaded to Adobe Experience Manager (AEM) as a Cloud Service remain in a Processing state for an extended period due to workflow or event handler activation issues.
Description description
Environment
Adobe Experience Manager (AEM) as a Cloud Service (all versions prior to a future release containing a permanent fix).
Issue/Symptoms
Intermittent delays in asset image processing occur in AEM as a Cloud Service, causing uploaded images to remain in the Processing state for 10–15 minutes instead of the usual 30–60 seconds. The issue typically occurs only during specific time windows and resolves after some time. The delay is not caused by the upload process or asset size but by a temporary disruption in AEM workflow and event handler activation. This disruption prevents AEM from promptly updating asset status and completing post-processing activities.
- Images uploaded to AEM Assets remain in the
Processingstate for an extended period (10–15 minutes). - The issue is intermittent and affects only some uploads.
- System logs show that uploads and image transformation services complete quickly, but there is a delay before asset status and renditions are updated.
- Custom post-processing workflows are marked as
customWorkflowProcessingorstuckdue to unavailable workflow steps.
Cause
The delay is caused by a temporary disruption in AEM workflow and event handler activation, which prevents timely consumption of asset processing events. This results in assets remaining in a processing state until handlers are reactivated, after which processing completes normally.
Resolution resolution
Follow these steps to resolve the issue:
-
Check the asset status in the AEM Assets UI for any assets stuck in
ProcessingorcustomWorkflowProcessing. -
Review system logs for affected assets:
- Confirm that uploads and image transformation (Asset Compute) processing complete quickly.
- Look for a gap between the completion of image transformation and the update of asset status or renditions.
- Search for repeated workflow retries or failures, especially messages indicating unavailable workflow steps or event handler activation issues.
- Look for signs of event handler activation issues, including delays in event consumption or errors related to handler registration or Declarative Services activation.
-
If custom workflows are involved, verify that all workflow steps are active and available. Review logs for workflow failures or assets marked as
stuck. -
Monitor the health of AEM pods or instances:
- Check for recent pod replacements or instance restarts, as these temporarily disrupt handler registration and event processing.
- Use AEM monitoring tools or your cloud provider’s dashboard to review recent instance health events.
-
If the issue resolves after a short period or following a pod or instance replacement, continue to monitor for recurrence.
-
If delays persist or occur frequently, contact Adobe Support for further investigation.
To verify the resolution, confirm that affected assets move from Processing to Processed and that all expected renditions and workflow steps complete successfully.