boat info <id>. It shows the state, the auto-stop time (archiveAfter), the reason for a stop or a failure (error), and the time of the last snapshot (snapshotCompletedAt).
Why did my sandbox stop?
Auto-stop is the most common cause. A stop by Boat keeps the disk, the same asboat stop, unless the table says otherwise.
Two settings change what a stop keeps:
To get the sandbox back, run
boat resume <id>.
To stop auto-stop for a long job:
A sandbox does not answer
If commands and SSH hang, Boat marks the sandbox as not answering. Boat sends you an email. Billing pauses while it does not answer. The disk stays on the machine. Do these steps in this order:- Wait a few minutes. A sandbox that answers again reconnects by itself, with all its data.
- Run
boat recover <id>. This restarts the machine. The disk is not touched. It usually answers again in 1 to 2 minutes, then saves your work by itself. - If
recoverdoes not help, runboat resume <id>. The sandbox comes back from its last snapshot. You lose what was written after that snapshot.snapshotCompletedAtinboat infoshows its time. - If the sandbox never completed a snapshot, do not resume. Contact us. We get the disk back by hand.
⋯ menu of the sandbox in the dashboard.
After 3 days without an answer, Boat stops the sandbox. It falls back to its last snapshot. Boat sends a reminder one day before.
”This sandbox is responding normally, so there is nothing to recover.”
recover works only on a sandbox that does not answer or is in error. To get a fresh machine for a sandbox that answers, run boat stop, then boat resume.
”Recovery already started. Give it N more minute(s) before trying again.”
Boat allows one recover each 10 minutes. A restart takes 1 to 2 minutes. Wait, then check withboat info.
”This sandbox runs on a machine that cannot be power-cycled.”
Some machines cannot restart on request. Wait for the sandbox to answer again, or resume it from its last snapshot.A sandbox is in error
error means that Boat lost contact with the machine, or that a start failed. boat info shows the reason in error.
Do these steps in this order:
- Read the reason:
boat info <id>. Check your email from Boat. - Run
boat recover <id>. Wait 2 minutes. - If it is still in
error, runboat resume <id>. You lose what was written aftersnapshotCompletedAt. - If you cannot lose that work, do not resume. Contact us within 3 days.
boat stop <id>. To erase it, read Delete a sandbox.
A command was killed: exit code 137 (out of memory)
Your programs can use all the RAM of the size except 512 MiB. Boat keeps that part for its own services. Above that limit, Linux kills the process that uses the most memory. The sandbox stays up.- The killed command ends with
exitCode137, and the command result showsoomKilled: true. - Other processes and the sandbox keep running.
- Use less memory, or move to a bigger size. Read Change size.
Out-of-disk emails
Boat reads the disk use of each running sandbox and emails you:
You get at most one email per level per day for each sandbox. When space gets low, Boat deletes caches that it can download again: the apt cache, journal logs and pulled Docker images that no container uses. Boat never deletes your own files.
To free space:
--type. If you cannot get in, contact us. Do not resume from an old snapshot if you need the unsaved work.
A stop does not finish
A stop saves the disk first. If the save fails, Boat refuses the stop, keeps the sandbox running and does not bill you while it waits. Read When a stop is refused.boat stop returns at stopping. A short stopping is normal. To wait for stopped, read Wait for the stop in a script.
Error messages
409 snapshot_data_expired
409 sandbox_starting
409 sandbox_not_ready
error. Run boat resume <id>. For error, read A sandbox is in error.
409 machine_not_running
boat info <id> and resume it if it is stopped.
409 sandbox_stopping
stopping keeps the same machine, so it cannot change the environment. Wait for stopped, then resume with --environment.
429 rate_limited
429 trial_compute_limit_reached
503 no_ready_machine
You sent failFast and no machine of that size was free. Nothing was created or billed. Retry, or fall back to another size. Read Fail fast when no machine is free.
402 credit_required
You keep 10 or more named snapshots, and you saved one more without credit. Add funds, or remove a named snapshot. Read Named snapshot pricing.
Still stuck
Contact us. Send the sandbox id and the output ofboat info <id>.