For administrators

Resources

What every app costs the server in memory, CPU and disk.

What this is

The page that answers "do we need a heavier server?". It reads the machine itself and shows the four ceilings (CPU, memory, disk, swap), then the split that explains them: one row per app, one card per database engine, and everything else docker runs. Figures that could not be measured show as an em dash, never as zero.

Where to find it

  1. Open Admin, then the card Infrastructure.
  2. Click Resources.

This page shows this machine. For the extra machines that run apps, see Servers.

What you see

Is this server big enough? The machine name, system, uptime and how long ago it was measured, with Measure again. A coloured line gives the verdict in a sentence. Four tiles follow: CPU (cores and load), Memory (used, total, available), Disk (free space on the fullest filesystem; other filesystems are listed under the tiles) and Swap (paging means real memory ran out; none means no swap, so running out of memory kills a container). Below the tiles each signal has a headline and a detail. Warnings appear under them.

Per app. Counters for apps, containers running, cores in use, memory in use, memory promised, and cold-start, not promised when cold-start apps are awake. The table has the columns App, CPU (cores), Memory (in use, and the ceiling the app runs under) and Disk; click a header to sort. Click a disk figure to open the split: Persistent files, Backups, Running image, Stored images, Database, Network, Processes and Owner. Dev environments appear as their own rows. The note under the table names the default memory and CPU ceiling for apps (set under Settings, Published apps) and says an admin can give one app its own ceiling on its Overview tab.

Per database engine. One card per shared engine, with running or not started, its CPU, memory and disk, and a table of databases (or collections) with the app that owns each and its size. unclaimed means no app on this platform claims that database: a leftover, or made by hand. Databases the engine keeps for itself are left out.

The rest of the machine. Every container docker runs here that is not a published app, with image, CPU and memory, plus the size of cyantula's own database and data directory.

What docker is holding, when docker answers: a table by type with Total, Active, Size and Reclaimable, and the button Clean up now.

How to find what fills the server

  1. Click Measure again to get a fresh reading.
  2. Read the verdict line and the signals under the tiles.
  3. In Per app, sort by Memory, CPU (cores) or Disk. Running apps come first on the numeric sorts.
  4. Click the disk figure of a large app to see whether files, images, backups or its database take the space.
  5. Check Per database engine for databases that are unclaimed.

How to free disk space

  1. In What docker is holding, click Clean up now.
  2. The result says how much was given back, how many images were dropped, and the result per server. The same clean-up runs on every server once a day.

It removes app images no deploy records any more, leftovers of rebuilt images and build cache beyond its cap. It never removes a version that can still be restored, nor the stopped container of an app somebody stopped.

When something looks wrong

  • A red or amber verdict: the sentence names the ceiling that is near. Free disk as above, move apps to another machine under Servers, or give the machine more CPU, memory or disk.
  • Not cleaned … : <reason>. The round was skipped, for example because a deploy was running. Try again later.
  • A server line in the clean-up result with a red reason: that server could not be cleaned. The others were.
  • The docker daemon did not answer. Nothing about containers can be read until docker is back.
  • The server is up but holds no app database yet. Nothing is wrong; no app uses that engine yet.

Good to know

  • Only an administrator can use this page.
  • Reading is harmless. Clean up now removes unused images and cache for good, but never anything that can still be restored.
  • Memory in use and memory promised are different: promised is what the apps' ceilings add up to, in use is what they use now.