Symptoms
Your site encounters 503 errors, and an entry similar to the following can be found in the PHP-FPM error log.
[01-Jan-1970 00:00:00] WARNING: [pool domain_tld] server reached max_children setting (5), consider raising it
Description
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.
Workaround
- Log into WHM as the ‘root’ user.
- 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.
- Scroll to the bottom of the page.
- Click the "Update" button.
Additional resources
PHP-FPM Limit Tuning Basics for Max Children
Comments
0 comments
Article is closed for comments.