Submit a request
Sign In
  • Home
  • Documentations
  • Knowledgebase
  • Home
  • Documentations
  • Knowledgebase

High Performance WordPress – Tuning PHP-FPM

17 views 0 February 28, 2023 Afif Rus

Reference:

https://megamorf.gitlab.io/2021/03/08/analyse-and-calculate-php-fpm-runner-settings/

https://chrismoore.ca/2018/10/finding-the-correct-pm-max-children-settings-for-php-fpm/

[Total Available RAM] - [Reserved RAM] - [10% buffer] = [Available RAM for PHP]

Results:
[Available RAM for PHP] / [Average Process Size] = [max_children]

pm.max_children = [max_children]
pm.start_servers = [25% of max_children]
pm.min_spare_servers = [25% of max_children]
pm.max_spare_servers = [75% of max_children]

https://gist.github.com/holmberd/44fa5c2555139a1a46e01434d3aaa512

https://spot13.com/pmcalculator/

Finding average FPM Memory size

 ps --no-headers -o "rss,cmd" -C php-fpm | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }'

Was this helpful?

Yes  No
Related Articles
  • Remove Loom Video Control When Embedding
  • WordPress VPS Tuning
  • Remove Plugin from Client Web When Out of Service
  • jQuery Not Defined – Web Broken Due To Script
  • Things to do after connecting server to RunCloud
  • Troubleshooting Slow WordPress Backend (Admin)

Didn't find your answer? Contact Us

Leave A Comment Cancel reply

Wordpress
  • High Performance WordPress – Tuning PHP-FPM
  • Briefly Unavailable for Scheduled Maintenance
  • WP-Rocket : Delay JS/CS Causing Facebook Pixel Not To Load Properly
  • WordPress Website Stuck In Redirect Loop
  • Bulk Disable WP Plugins From Database
  • Troubleshooting Slow WordPress Backend (Admin)
  • Things to do after connecting server to RunCloud
  • jQuery Not Defined – Web Broken Due To Script
  • Remove Plugin from Client Web When Out of Service
  • WordPress VPS Tuning
  • Remove Loom Video Control When Embedding
KB Category
  • Admission
  • ChatGPT
  • Creative
  • Facebook
  • Influencer / CC
  • Integromat / Make
  • Marketing
  • Tiktok
  • Wordpress

  Things to do after connecting server to RunCloud

jQuery Not Defined – Web Broken Due To Script  

manual
The most advance help desk theme available on the market. With Manual WordPress theme everything in one place, happy team and loyal customers.
Company
  • Careers
  • Mission/Vision
Support
  • Knowledge Base
  • Video Manuals
Social
  • Facebook
  • Twitter
  • Privacy Policy
  • Terms of Use
  • © 2023 Monocal. All Rights Reserved.

Popular Search: