Get your free beta license ↗
API operation · php group
GET

/php/pools

First published 25 Oct 20260.2.16Unchanged since publication

List domain pools that reached their PHP-FPM child process limit in the last 14 days

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 OK

UrbeStack reads the current and rotated PHP-FPM logs for every installed version, including gzip-compressed logs. The response lists pools in descending order of "server reached max_children setting" warning count.

Each entry includes the pool name (urbestack-<domain>), the domain, the warning count, and the UTC timestamp, PHP version, and pm.max_children value from the latest warning. PHP-FPM logs a warning when a pool runs out of available child processes. It can log another after a child process becomes available and the pool reaches the limit again.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/php/pools" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "days": 1,
  "pools": [
    {
      "domain": "example.com",
      "last": "text",
      "max_children": 1,
      "pool": "text",
      "reached": 1,
      "version": "0.0.1"
    }
  ]
}

Errors

1 error, each a status and a sentence
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.16 on 25 Oct 2026.
urbestack.com/docs/api/get-php-pools/