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.

Revisions

  1. 1Caxz revised this gist Nov 17, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion php-fpm-high-cpu-usage-fix
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # www.conf
    # www.conf https://thisinterestsme.com/php-fpm-settings/
    pm = static # Good for high traffics
    pm.max_children = 25
    pm.start_servers = 5
  2. 1Caxz created this gist Nov 17, 2022.
    7 changes: 7 additions & 0 deletions php-fpm-high-cpu-usage-fix
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # www.conf
    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