• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Cannot change pm.max_children in domain PHP settings

charlesmass

New Pleskian
I'm having trouble understanding how pm.max_children works in PHP settings of a specific domain.
What I did :
- Websites and domains
- Scroll to my domain "example.com" and click "PHP Settings (v7.4.8)"
- Under "PHP-FPM settings", entered "200" as the value for "pm.max_children"
- Clicked "Apply" (or "Ok", does the same)

Although the value entered remains when I come back to the PHP settings, it doesn't seem to be taken into account in /opt/plesk/php/7.4/etc/php-fpm.d/example.com.conf.
And I get a lot of " WARNING: [pool example.com] server reached max_children setting (20), consider raising it"
Can anyone help me with that ?

I checked
- "Run PHP as FPM Application served by nginx" is enabled.
- pm is set to "ondemand"
- Changing other settings works for example.com (I tried changing "pm", "pm.start_servers", "memory_limit", ...)
- I tried setting the same value for another domain example2.com which is set as "Run PHP as FPM Application served by Apache" on version 7.2 and it worked perfectly
- I tried creating a new domain to test if there was an issue with PHP 7.4 or nginx. I created a domain with the exact same settings as example.com and it worked : /opt/plesk/php/7.4/etc/php-fpm.d/test.com.conf showed "pm.max_children = 200"

=> Do I need to re-create my domain example.com ?
I'd rather not do that to prevent any issue with my current users.
Any way to reset something ?

Many thanks !
 
Last edited:
Back
Top