High CPU usage and slowness during large rollouts in AEM Author

This article explains how overlapping large rollout operations and automated backup processes in Adobe Experience Manager (AEM) Author can cause high CPU usage and system slowness, and provides steps to prevent and resolve this issue.

Description description

Environment

  • Adobe Experience Manager Author environment
  • AEM Sites
  • Multi Site Manager
  • Automated backup process

Issue/Symptoms

  • CPU utilization reaches up to 90% across multiple cores.
  • Users experience system slowness and degraded performance.
  • Thread dumps captured during the incident show that most threads are in a waiting state.
  • The issue doesn’t occur consistently.

Cause

A large asynchronous rollout involving many pages runs at the same time as an automated backup process. The concurrent operations cause repository contention and high CPU usage, resulting in system slowness.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review all scheduled automated processes in the AEM Author environment, including nightly backups and repository maintenance operations.
  2. Review recent large rollout or page-update activities, especially those involving many pages or locales.
  3. Review the logs for asynchronous MSM rollouts and record when the rollout operations occurred.
  4. Compare the timing of the large rollout operations with the automated backup or repository operations.
  5. Use the log entries to verify whether the large rollout and automated process ran concurrently.
  6. If an overlap occurred, reschedule the large rollout and automated process so that they don’t run at the same time.
  7. Consider using approval workflows or maintenance windows to control large-scale authoring activities.
  8. Inform content authors about the scheduled maintenance and backup periods, and ask them not to start large rollouts during those periods.
  9. After separating the workloads, monitor CPU utilization and thread activity and verify that system performance returns to normal.
recommendation-more-help
experience-cloud-kcs-help-kbarticles