How to monitor PHPFPM applications

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

ServicePilot 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

How to install a phpfpm resource?

  1. Use your ServicePilot OnPremise installation or a SaaS account.
  2. Add a new phpfpm resource via the web interface (/prmviews or /prmresources) or via API (/prmpackages page), the default ServicePilot agent or another agent will be provisioned automatically.

Details of the phpfpm package are located in the /prmpackages page of the software.


ServicePilot enables you to deliver IT services faster and more securely with automated discovery and advanced monitoring features.

By correlating the technology PHPFPM with APM and infrastructure monitoring, ServicePilot is able to provide a more comprehensive view of an organization's IT environment.

This allows IT teams to quickly identify and diagnose issues that may be impacting application performance, and take corrective action before end-users are affected.

Start with a free trial of our SaaS solution. Explore ourplans or contact us to find what works best for you.

How to monitor PHPFPM applications PHPFPM 0

Free installation in a few clicks