CPU Hours Limit Exceeded
If your site exceeds the daily CPU hours included in its plan, it may be temporarily rate-limited until your usage resets or your plan is upgraded. You can use the Insights page to identify what is consuming the most CPU time.
Exceeding your daily CPU allocation usually indicates that one or more requests or background jobs are consuming excessive resources. Reviewing your site’s analytics can help identify the cause.
Check CPU Usage
- Open your Site Dashboard.
- Go to the Insights tab.
- Scroll down to the Advanced Analytics section.
- Review the following reports:
- Slowest Requests
- Slowest Background Jobs
- Identify the endpoints or background jobs consuming the most CPU time.
Understand the Reports
The analytics are sorted in descending order, with the most resource-intensive requests appearing at the top. Red bars highlight requests or jobs that take significantly longer to complete and are the best candidates for optimization.
How to Reduce CPU Usage
- Optimize slow reports, API endpoints, and custom scripts.
- Review long-running background jobs and reduce unnecessary processing.
- Optimize database queries by adding appropriate indexes where required.
- Remove or optimize custom code that performs expensive operations.
- Upgrade your site plan if your workload consistently exceeds the available CPU hours.
Monitor your site’s CPU usage regularly through the Insights page. Address slow requests and inefficient background jobs early to improve performance and avoid reaching your daily CPU limit.