Website is working slowly on PHP-FPM: server reached max_children setting or Bad file descriptor (9)

Follow

Comments

3 comments

  • Avatar
    Markus Wernecke

    Great help and tutorial ! Thanks a lot

  • Avatar
    Sharul Hafiz

    Possible to apply this setting to all domains with single file editing? I have lots of domains to be configured 1 by 1

  • Avatar
    Nikolay Zhmuk

    @Sharul Hafiz You can check the article mentioned in Additional Information section - https://support.plesk.com/hc/en-us/articles/115001201949
    Keep in mind that increasing of pm.max_children parameter for all domains can affect the server performance significantly. It is better to filter only affected domains in /var/log/plesk-phpXX-fpm/error.log file
    ===
    grep "server reached max_children setting" /var/log/plesk-phpXX-fpm/error.log
    ===
    and adjust max_children just for them.

Please sign in to leave a comment.