Cache warming up and site unavailable on Adobe Commerce

This article provides a solution for when the page cache is warming up and there is a stuck deployment or site down.

Description description

Affected products and versions

Adobe Commerce on cloud infrastructure, all supported versions.

Issue

The cache warm-up script, at the end of the post-deploy phase, sends requests at such a high rate that certain instances, such as 4-CPU instances, cannot cope. Their Nginx exhausts the number of workers.

Steps to reproduce:

  1. Start cache warm-up operations.

Expected result:

Pages or the entire site load.

Actual result:

The site is unavailable, or the response time is too high.

Resolution resolution

Limit the number of concurrent connections during the cache warm-up. This requires adding the WARM_UP_CONCURRENCY post-deploy variable to specify the number of warm-up requests that the cache warm-up script can send concurrently. Setting this option can help manage the load on Adobe Commerce cloud infrastructure. For steps, see Post-deploy variables > WARM_UP_CONCURRENCY in the developer documentation.

Full-Page Cache in the user guide

recommendation-more-help
experience-cloud-kcs-help-kbarticles