Skip to content

Instantly share code, notes, and snippets.

View L30Bola's full-sized avatar
🎯
Focusing

Leonardo G G Avellar L30Bola

🎯
Focusing
  • Wildlife Studios
  • São Paulo - Brasil
  • X @L30Bola
View GitHub Profile
@L30Bola
L30Bola / php-pools.md
Created September 23, 2020 14:44 — forked from holmberd/php-pools.md
Adjusting child processes for PHP-FPM (Nginx)

Adjusting child processes for PHP-FPM (Nginx)

When setting these options consider the following:

  • How long is your average request?
  • What is the maximum number of simultaneous visitors the site(s) get?
  • How much memory on average does each child process consume?

Determine if the max_children limit has been reached.

  • sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log