AEM as a Cloud Service environment unavailable due to MongoDB latency
Adobe Experience Manager as a Cloud Service (AEMaaCS) may become unavailable when high MongoDB write latency and insufficient cluster resources prevent repository initialization from completing within the expected timeframe, resulting in repeated Author pod restarts. To resolve the issue, review repository and MongoDB performance indicators and, when the documented symptoms are present, contact Adobe Support to request a MongoDB cluster upscale.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS)
Issue/Symptoms
- Error500 responses occur when accessing the Author environment.
- Build pipelines take unusually long to complete.
- Author pods restart repeatedly.
- Repository initialization consistently exceeds the internal health-check grace period.
- Thread dumps show repository startup blocked while waiting for MongoDB responses.
Root cause
High MongoDB write latency and insufficient cluster resources prevent the repository from initializing within the expected timeframe, resulting in repeated Author pod restarts and environment unavailability.
Resolution resolution
Follow the steps below to resolve the issue:
-
Confirm that the AEM as a Cloud Service environment is unavailable and that Author pods restart repeatedly. Check for Error 500 responses and extended build pipeline durations.
-
Review the environment logs for repository initialization that exceeds the 10-minute health-check grace period. Check for thread dumps that indicate blocking on MongoDB responses, especially during repository access control operations.
-
Monitor the following MongoDB performance indicators in the logs:
- Sustained MongoDB write latency greater than 1 second, with possible peaks above 6 seconds.
- WiredTiger checkpoint durations exceeding 1–2 minutes.
- Growing cache dirty bytes and lease renewal times that spike to several seconds.
-
If these symptoms are present and the MongoDB cluster is at a lower tier, open a support ticket with Adobe Support and request a MongoDB cluster upscale for the affected environment. Provide relevant log excerpts and details about the observed latency and pod restarts.
-
After Adobe Support upscales the cluster, monitor the environment and confirm that Author pods remain stable, the environment is accessible, and repository initialization completes within the expected timeframe.
-
If the issue persists after the upscale, continue working with Adobe Support for further investigation.