Glossary

PHP-FPM pool

What is a PHP-FPM pool?

In short

A PHP-FPM pool is a group of PHP worker processes that nginx or Apache hands PHP requests to. Its settings decide how many requests can run at once.

Why it matters

When every worker is busy, new requests wait and then fail with 502 or 504 errors, and the log says “server reached pm.max_children”. Too many workers is just as bad: they run the server out of memory.

How to check it on Linux

Look for the max-children warning in the FPM log (path varies by PHP version):

sudo grep -i "max_children" /var/log/php*-fpm.log

What Opservo does about it

Opservo shows PHP-FPM as a service on the server and flags it when it stops or keeps restarting. Monitor Laravel in production

PHP-FPM pool, answered

What is a PHP-FPM pool?+

A PHP-FPM pool is a group of PHP worker processes that nginx or Apache hands PHP requests to. Its settings decide how many requests can run at once.

How do I check a PHP-FPM pool on Linux?+

Look for the max-children warning in the FPM log (path varies by PHP version): sudo grep -i "max_children" /var/log/php*-fpm.log

How does Opservo handle a PHP-FPM pool?+

Opservo shows PHP-FPM as a service on the server and flags it when it stops or keeps restarting.

Related terms

Opservo watches all of this on every server and explains problems in plain English. Free for 2 servers.