• Resolved peyote

    (@peyote)


    Good day

    I’m new to the plugin and wondering if I can use Query Monitor to find which WP plugin or PHP process is causing the server to reach it’s max_children setting (20)?

    Host cannot assist me and they won’t increase the setting in PHP-FPM.

    Any assistance will be appreciated please, even a help tutorial on how to use Query Monitor to find these PHP processes?

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Unfortunately Query Monitor won’t be able to help you with this directly, but it might be able to indirectly. php-fpm will spawn child processes as necessary to handle incoming requests, and the longer it takes for a request to complete then typically the more processes will be needed because fewer are free when each subsequent request arrives. If you can reduce the response time for each request then it should reduce the number of child processes needed at any given time. Query Monitor can help you with this. Here’s a starting guide: https://querymonitor.com/docs/how-to-use/

    Apart from that, WP-Cron can eat up processes if there are many long running events. My WP Crontrol plugin can help with that to some degree: https://wordpress.org/plugins/wp-crontrol/

    Thread Starter peyote

    (@peyote)

    Thank you John, much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Server reached max_children setting (20)’ is closed to new replies.