Skip to content

Instantly share code, notes, and snippets.

View jmarcher's full-sized avatar
💭
I may be slow to respond.

Joaquín Marcher jmarcher

💭
I may be slow to respond.
View GitHub Profile
@holmberd
holmberd / php-pools.md
Last active June 28, 2024 14:43
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