If the PHP-FPM process limit is reached while CPU usage remains normal, it usually means your website has reached the maximum number of PHP processes allowed to run at the same time. CPU usage can remain low because those processes may be waiting for database queries, external requests, file operations, or other slow tasks.
Common causes include:
- Too many simultaneous PHP requests
- Slow database queries or database connections
- Plugins, themes, or scripts taking too long to execute
- Long-running PHP processes
- High traffic or sudden traffic spikes
- Incorrect PHP-FPM process configuration
- External API requests causing PHP processes to wait
How to Fix It
- Check the PHP-FPM process usage and error logs.
- Identify slow PHP scripts, plugins, or database queries.
- Optimize your website and database to reduce PHP execution time.
- Check for unnecessary or long-running cron jobs.
- If your hosting plan allows it, increase the PHP-FPM process limit.
- If the limit is reached frequently, consider upgrading your hosting resources.
If CPU usage is normal but the PHP-FPM limit continues to be reached, contact your hosting support team so they can check the PHP-FPM configuration and identify which processes are consuming the available workers.