Skip to content

Capacity and headroom ​

A find the limit run tells you how many calls per second the PBX sustains within your criteria. A PBX watch — best the always-on watch — tells you how many it really gets. The Capacity card puts the two side by side:

peak 0.6 CPS, limit 3 CPS → 5× headroom

It is on the Dashboard (for the profile selected there) and on each profile's page, in the HTML report and JSON export of limit and watch runs, and in the API. Nothing is placed or polled for it: it is computed on request from the stored run summaries, which data retention keeps forever — runs whose per-second data was removed still count.

First step: run Find the limit once and switch the always-on watch on (or run a PBX watch); the Capacity card on the Dashboard then shows your headroom.

Peak real load ​

The busiest watch window of the last 7 days: the window's calls (inbound SIP legs into FreeSWITCH, the watch's definition of a call) divided by its length — an average over the window, e.g. a 5-minute window.

  • A limit step is also a sustained average, so the two compare like for like.
  • Windows shorter than 60 s (a watch's open first or last window) are ignored, so a short burst can't dominate.
  • Both always-on watch segments (today's counts from its last checkpoint, updated every window) and watches started by hand or by a schedule count. A hand watch still running counts once it ends.
  • The always-on watch leaves a load test's own calls out, so a test running beside it doesn't raise the peak.

Shown with it, for information only:

1-s peakthe most new calls in a single second. Against a sustained limit it would understate the headroom badly, so it is not used for it.
Peak concurrent callsthe most calls up at once (windows without a load test). The headroom is about calls per second only.
Watchedhours of watch data in the 7 days.

The card links to the watch run or always-on segment the peak came from.

The limit ​

The newest find-the-limit run of the profile that ended completed or stopped with a result:

OutcomeLimitHeadroom
limit foundthe highest step that passed, e.g. 3 CPSexact, e.g. 5×
every step passed≥ max CPS — the limit is higher than tested≥ N×
the first step failed< start CPS — the limit is below the first step< N× (the real headroom is lower and unknown)

Runs that ended before a result (incomplete) are skipped for the one before. The limit run doesn't have to be the baseline, and the destination is not matched — it is shown so you can judge: calls to an echo number put one leg per call on the PBX, calls between test extensions two. The card shows the run's date and age and links to it.

Stale limit. A limit measured more than 30 days ago, or before the profile was last edited, gets a note: limit measured 31 days ago — run Find the limit again. It is a note, not a failure.

Status ​

HeadroomStatus
below 1×over the limit — the busiest window was above the measured limit
below 2×tight
2× or moreOK

The thresholds are fixed and documented here; they are not a pass/fail criterion — no verdict, no alerts. With ≥ (every step passed) and less than 2×, the status is tight: run Find the limit with a higher max CPS. With < (the first step failed) it is tight or over: run it with a lower start CPS.

Empty states say what is missing, with a link: no limit run yet (New test › Find the limit), no watch data in the last 7 days (switch on the always-on watch on Monitor or the profile page, or run a PBX watch), no calls seen (watched, but there is nothing to divide by).

Weekly trend ​

The chart under the numbers covers the last 8 local weeks (Monday to Sunday):

  • bars — each week's busiest window (average CPS); hover for the day, the hours watched and the limit;
  • dashed line — the limit in effect at the end of each week; a dot marks a week in which a limit run finished.

Bars growing week by week, or a line dropping after a change, show trouble coming before it hurts.

In reports ​

The HTML report and the JSON export (capacity) of find the limit and PBX watch runs (hand watches and always-on segments) have a Capacity section computed as of the run's end: a limit run's report uses its own limit and the watches of the days before it, and stays the same when you download it again later. Other run types have no section. See Export and reports.

Read the card ​

A limit measured on a small test or development PBX is a number for relative comparison — before and after a change, week by week — not a statement about how a production system must be sized. The same goes for the headroom built on it.

Capacity card with peak real load, the limit and the headroom
The Capacity card: the busiest real-traffic window of the last 7 days against the newest limit, the headroom and the weekly trend.

PBXsight — load testing and monitoring for FreeSWITCH PBXes. Only test systems you own or may test.