Symptoms
Your site encounters 503 errors, and an entry similar to the following can be found in the PHP-FPM error log.
CONFIG_TEXT: [01-Jan-1970 00:00:00] WARNING: [pool domain_tld] server reached max_children setting (5), consider raising it
Cause
The issue occurs when the PHP-FPM process becomes overloaded with requests. The max_children value can be increased system-wide or for an individual domain. Unless all domains encounter this issue, the value should be updated for an individual domain.
Resolution
- Log into WHM as the
rootuser - Navigate to Home / Software / MultiPHP Manager
- Click the User Domain Settings tab
- Click the PHP-FPM Settings button to the right of the user's domain
- Increase the Max Requests value
- Increase the Max Children value
- Click the Update button at the bottom of the page
Additional Resources
PHP-FPM Limit Tuning Basics for Max Children
Comments
0 comments
Article is closed for comments.