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:
boat wallet auto-top-up 50.
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. After a kernel crash, the machine restarts by itself in about 15 seconds. The disk is not touched. A sandbox that answers again reconnects by itself, with all its data.
- If it still does not answer, run
boat stop --force <id>, thenboat resume <id>. The sandbox comes back from its last good snapshot. You lose what was written after that snapshot.snapshotCompletedAtinboat infoshows its time. - If the sandbox never completed a snapshot, do not stop it. Contact us. We get the disk back by hand.
boat recover and POST /sandboxes/{id}/recover are deprecated. boat removes them soon. Use the steps above.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. - 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 or another state that cannot run commands. Run boat resume <id>. For error, read A sandbox is in error.
409 machine_not_running
boat resume command from the message. The body also carries state, and retryable is true only while the sandbox is still starting.
409 sandbox_stopping
stopping keeps the same machine. It cannot change the size, the environment, the provider or the host. The stop finishes in a few seconds. The answer carries a Retry-After header and the running stop operation. Wait that many seconds, or wait for stopped. Then run the same resume again.
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 your plan’s included saved snapshots or more, and you saved one more with an empty wallet. Add money with boat wallet pay 20, or remove a saved snapshot. Read Saved snapshot pricing.
Still stuck
Contact us. Send the sandbox id and the output ofboat info <id>.