Managed alerts on Adobe Commerce: CPU critical alert
This article provides troubleshooting steps when you receive a CPU critical alert for Adobe Commerce in New Relic. Immediate action is required to remedy the issue. The alert will look something like the following, depending on the alert notification channel you selected.
Affected products and versions
Adobe Commerce on cloud infrastructure Pro plan architecture
You will receive a managed alert in New Relic if you have signed up to Managed alerts for Adobe Commerce and one or more of the alert thresholds have been surpassed. These alerts were developed by Adobe Commerce to give customers a standard set using insights from Support and Engineering.
Abort any deployment scheduled until this alert is cleared.
Launch additional marketing campaigns which may bring additional pageviews to your site.
Run indexers or additional crons, which may cause additional stress on the CPU or disk.
Do any major administrative tasks (i.e., the Commerce Admin, data imports/exports).
Clear your cache.
Your site may become non-responsive (if you are not already experiencing a site outage) if you do any of the “Don’t” actions before you have investigated and solved the cause of the alert.
Follow these steps to identify and troubleshoot the cause.
Because this is a critical alert, it is highly recommended you complete Step 1 before you try to troubleshoot the issue (Step 2 onwards).
Check if the Adobe Commerce support ticket exists. For steps, refer to Track your support tickets in our support knowledge base. Support may have received a New Relic threshold alert, created a ticket, and started working on the issue. If no ticket exists, create one. The ticket should have the following information:
Sort transactions by ascending Apdex scores. Apdex refers to user satisfaction to the response time of your web applications and services. A low Apdex score can indicate a bottleneck (a transaction with a higher response time). Usually, it is related to the database, Redis, or PHP. For steps, refer to New Relic View transactions with highest Apdex dissatisfaction.
Sort transactions by highest throughput, slowest average response time, most time-consuming, and other thresholds. For steps, refer to New Relic Find specific performance problems.
If you are still struggling to identify the source:
Review recent trends to identify issues with recent code deployments or configuration changes (for example, new customer groups and large changes to the catalog). It is recommended that you review the past seven days of activity for any correlations in code deployments or changes.
If the problem seems temporary, perform mitigation steps such as an upsize or place the site into maintenance mode. For steps, refer to How to request temp resize in our support knowledge base and Installation Guide > Enable or disable maintenance mode in our developer documentation. If the upsize returns the site to normal operations, consider requesting a permanent upsize (contact your Adobe Account Team) or try to reproduce the problem in your Dedicated Staging by running a load test and optimize queries or code that reduces pressure on services. For steps, refer to Test Deployment > Load and stress testing in our developer documentation for Adobe Commerce on cloud infrastructure.