# GET /php/pools

First published 25 Oct 2026 (release 0.2.16) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the php group.

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

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 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

- [urbestack-php-pool-list](https://urbestack.com/docs/commands/urbestack-php-pool-list.md): Lists domain pools that reached their PHP-FPM child process limit (pm.max_children) in the last 14 days, ordered by warning count with the highest first.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
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

- 401: Authentication required
