Skip to main content
Start with 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 as boat stop, unless the table says otherwise. Two settings change what a stop keeps: To get the sandbox back, run boat resume <id>.
boat keeps the disk of a stopped sandbox for at least 14 days. After that, automated retention cleanup can delete it once enabled, whatever caused the stop. The job currently reports candidates without deleting them in production. Read Keep a stopped sandbox longer than 14 days.
To stop auto-stop for a long job:
Read Auto-stop. To never stop for an empty wallet, turn on Auto top-up on the Billing tab, or run 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:
  1. 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.
  2. If it still does not answer, run boat stop --force <id>, then boat resume <id>. The sandbox comes back from its last good snapshot. You lose what was written after that snapshot. snapshotCompletedAt in boat info shows its time.
  3. If the sandbox never completed a snapshot, do not stop it. Contact us. We get the disk back by hand.
After 3 days without an answer, boat stops the sandbox. It falls back to its last snapshot. boat sends a reminder one day before.
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:
  1. Read the reason: boat info <id>. Check your email from boat.
  2. If it is still in error, run boat resume <id>. You lose what was written after snapshotCompletedAt.
  3. If you cannot lose that work, do not resume. Contact us within 3 days.
After 3 days, boat stops the sandbox. It falls back to its last snapshot. To stop an errored sandbox without a resume, run 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 exitCode 137, and the command result shows oomKilled: 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:
If the sandbox needs more disk, stop it and resume it with a bigger --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

boat deleted this sandbox’s data after it had been stopped for at least 14 days. Resume, fork and a saved snapshot save of this sandbox fail. You cannot get the data back. The sandbox stays in your list until you delete it. Next time, save a saved snapshot before day 14. Read Keep a stopped sandbox longer than 14 days.

409 sandbox_starting

The API held your command for 60 seconds, and the sandbox was still starting. Send the command again. Read Readiness and resume speed.

409 sandbox_not_ready

The sandbox is in error or another state that cannot run commands. Run boat resume <id>. For error, read A sandbox is in error.

409 machine_not_running

The sandbox has no machine now. Usually its TTL ran out or someone stopped it. Run the 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

A resume during 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

Nothing is broken. Create, fork and resume each count as one start. Run one of the commands, or wait until that time. Read Limits and errors.

429 trial_compute_limit_reached

The free trial used its 25 hours. The first payment removes this limit. Read Free trial.

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 of boat info <id>.