Skip to content

Instantly share code, notes, and snippets.

@1Caxz
Last active November 17, 2022 09:11
Show Gist options
  • Save 1Caxz/1076dc48adf44f4e2cc245f767541ffe to your computer and use it in GitHub Desktop.
Save 1Caxz/1076dc48adf44f4e2cc245f767541ffe to your computer and use it in GitHub Desktop.
Config PHP-FPM for high 100% CPU
# www.conf https://thisinterestsme.com/php-fpm-settings/
pm = static # Good for high traffics
pm.max_children = 25
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 10
pm.max_requests = 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment