Application monitoring
with the PHPFPM package


ServicePilot appmon-phpfpm


What is PHP-FPM?

The PHP FastCGI Process Manager, often just called PHPFPM is an open source SAPI (Server Application Programming Interface) interface allowing communication between a web server and PHP application code. It is based upon the FastCGI protocol and is often seen as an alternative PHP server implementation option for heavy traffic websites.

PHP-FPM is bundled with the official PHP distribution since version 5.3.3.

PHP-FPM monitoring

This package monitors PHP-FPM using either the HTTP status page or a fpm socket.

This package automatically configures the ServicePilot Agent in order to monitor availability and performance of PHP-FPM.

The statistics gathered in this way for urls and pools are:

  • Accepted connections: The number of requests accepted by the pool
  • Listen queue: The number of requests in the queue of pending connections (see backlog in listen(2))
  • Max listen queue: The maximum number of requests in the queue of pending connections since FPM has started
  • Listen queue length: The size of the socket queue of pending connections
  • Idle processes: The number of idle processes
  • Active processes: The number of active processes
  • Total processes: The number of idle + active processes
  • Max active processes: The maximum number of active processes since FPM has started
  • Max children reached: Number of times, the process limit has been reached, when pm tries to start more children (works only for pm 'dynamic' and 'ondemand')
  • Slow requests: Number of slow requests
Application monitoring PHPFPM 0