Settings: operations
Status
Status answers one question first: "New tasks can start." or "New tasks can't start: … problems below.", with the time of the last check. Check again repeats the checks.
Only a failing check is explained, with what to do:
| Check | When it fails |
|---|---|
| Database | The gateway can't reach its database. Check that the database is running and the gateway's database address is right. |
| Key store | The gateway can't open its key store, so tasks can't get their keys. Check the store's files and permissions on the gateway host. |
| Environment engine | The gateway can't reach Docker (or the microVM engine), which runs environments. Check that it is running and reachable from the gateway. |
| Agent image | The agent's image is missing on the engine host (on microVMs, or its VM disk image isn't built). Build or load it there, then check again. |
| Agent version | The agent's image is older than this gateway. Rebuild it from this release, then check again. |
Passing checks are listed in one line under the answer, followed by how environments run (as Docker containers or as microVMs). The Default environment section says whether new tasks can start in it, and why not, with Open Environments; while a check above fails, it says "Ready once the problem above is fixed" instead of Available.
Before a restart says how many tasks are working on a step: each of their steps would start over if the gateway restarted now (see Restarting the gateway). It counts tasks whose environment is connected and whose run is going, and never says which tasks or whose. The page reads it again every 30 seconds while it's open, with Checked at updated. "No task is working on a step, so restarting now wouldn't start any step over." is the moment to restart. A screen reader announces the count when it changes, never on each read. The section is left out when the count can't be read. If one of those reads fails (say, while the gateway restarts), the page keeps the last one and says "The latest read failed, so this shows the one before."; the next read clears it.
A Sandboxes section says how many sandboxes run and whether the gateway's sweeps left anything unowned behind:
"Sandboxes: none running. Nothing left behind." is the quiet case, or with sandboxes running, how many and the
oldest one's age. Every five minutes by default ([sandbox] sweep_seconds in gateway.toml, 10 through 3600
seconds) the gateway removes containers and networks of its own that no task accounts for; one it could not remove
twice in a row, or found again after removing it, is left behind, and the line turns amber, naming what and the
engine's reason: "… Left behind: … (…). The gateway keeps trying to remove what's left." with Open Sandboxes,
where each is named with the command that removes it by hand. Volumes are not counted: workspaces are folders on
the host.
A Git credentials section appears only while some Git credentials from an earlier release couldn't become keys.
"N Git credentials couldn't become keys: their address isn't a web address" means a person saved one for an address
such as git@github.com:team/repo.git: they add the key under Keys by hand, with the repository's https://
address. "N Git credentials are waiting to become keys" means their owners already have the most keys: each becomes a
key at the next restart after its owner removes one. Neither stops tasks from starting.
Sandboxes
Sandboxes lists every running sandbox across people: who owns it, its environment, whether it is Starting, Working (a run is going), Idle or Stopping…, what it uses of what it was given ("0.2 of 2 cores", "0.4 of 4 GB"; "Measuring…" for the first ten seconds, "Not available" when the engine gives no figures), when it started and when it was last active. An idle row says when it stops ("Stops in about 6 min"); one its owner keeps running says Kept on. Under the page's name one muted line sums up the whole install ("4 of 6 running · Desktops 1 of 2 · 1.6 of 8 cores · 5.4 of 16 GB set aside", with "· full" when every slot is taken, and the desktops only where a Desktop environment exists), then how many tasks wait for a sandbox. A starting sandbox shows what it was given ("1 core · 2 GB set aside"). On a phone each sandbox is a card: its owner and state, then its environment and last activity, then its use. The page reads itself again every ten seconds while it is open. It shows nothing of a task but its owner and its environment: no title, no message, no file, and no row links to a task.
Stop now, in a row's ⋯ menu, asks once ("Stop ben@example.org's sandbox?") and then stops an idle sandbox: the task keeps its files and history, its next message starts a new sandbox, and its owner sees "An administrator stopped this task's sandbox. It starts again when you send a message." in the task. A kept-on sandbox can be stopped, and the question says so; a Desktop keeping a sign-in loses it, and the question says that too. A working or starting sandbox, one a message is waiting for, and a desktop someone has taken over are never stopped: the menu item says why, and the gateway refuses the same way ("…'s sandbox is working now; it can't be stopped until the run ends."). When a sandbox changes between the page's read and your answer, the question says why and offers only Close, and the page reads the list again so the row shows what it is now. The person can always stop their own run. Each stop is recorded in the administration audit with the task's id only.
Left behind appears above the table only when a sweep left something unowned behind (see Status): each container, network or volume by the engine's name, its age and the engine's reason, with the command that removes it by hand on the engine host and Copy beside it. The gateway keeps trying every five minutes; once the thing is gone the section goes with it.
Usage
Usage shows the model tokens used through the gateway, counted from each model request.
Choose a Period: This month (the default), Last month, or the last 7 or 90 days. The page leads with the period's tokens (in and out together) and their change against the period before it: this month against the same days of last month, last month against the month before, a run of days against as many days just before. Under it are the requests, tokens in and tokens out, and, when a model server reported them, a line with the cached and reasoning tokens.
Then a bar for each day of the period (a day without requests is a gap), and two rankings side by side, Usage by person and Usage by model, largest first with each one's share of the tokens: the top five, and Show all … people or Show all … models for the rest. Requests by an account that was since removed count as Removed account. Show each day lists the days with requests, newest first.
The counts include the one small request the gateway makes to name a task after its first run completes (a few
words, on the task's own route, in the task's language: a name in another writing system than the task's, such as a
Chinese name for an English task, is not used, and the task keeps its first words); [tasks] auto_title = false in
gateway.toml turns that off.
The page counts tokens, not money: routes have no prices. Decision engines count against their own budgets, on the Decision engines page.
Two notes can appear:
- Some requests reported no token usage. Their tokens are not counted; the note says how many requests. Tasks ask for usage unless the route's Ask the server for token usage is off (see Models); a server that still sends none doesn't report it while streaming.
- A long ranking shows only the largest rows. The totals still include the rest.