Skip to main content

Job lifecycle and statuses

Every job moves through the same five stages, and reports one of a fixed set of statuses along the way. What a stage is waiting on and what a status means together tell you whether a job is stuck, slow, or working normally.

Why there are stages at all​

Rescale does not keep a cluster running for you. Each job gets hardware provisioned for it, runs, and hands the hardware back. That's what makes it possible to submit a 4-core job and a 4,000-core job from the same page without doing any capacity planning yourself.

The cost of that model is that a job has real work to do before your solver starts: capacity has to be found, a cluster has to boot, and your input files have to be staged onto it. The five stages are that work, made visible.

The five stages​

Open a job and click Status to see them. Each stage shows a green checkmark when it passes.

1. Queued​

Rescale has accepted your submission and is checking preconditions. The ones that most often hold a job here are capacity, whether your chosen coretype is available in your region right now, and the deposit and budget behind the job, since it must be able to afford its first hour before it can launch. See why a job is queued for the full list.

A job can sit in Queued legitimately. It is not stuck.

2. Validating Input​

Your input files and launch command are checked before any hardware is paid for. This is deliberately early: a typo in a filename is much cheaper to catch here than after a cluster has booted.

3. Starting Cluster​

The hardware you selected is being provisioned. This stage takes minutes, not seconds. It's the startup latency inherent to per-job provisioning. Nothing is wrong if a job spends several minutes here.

4. Running Job​

Your software is executing. This is the only stage where your launch command is actually running, and it's the stage where live tailing and cluster health become useful.

5. Stopping Cluster​

Output files are copied from the cluster back into Rescale Cloud Storage, then the cluster is released.

Only files under the job's directory are saved

Clusters are destroyed at the end of this stage. Anything your solver wrote outside the job's working directory is gone. It is never copied back. If a tool writes logs to your home directory, copy them into the job directory as the last line of your command.

Status reference​

The Jobs and Workstations list view and the Status tab both report one of these strings. Each maps onto the five stages above.

StatusMeaning
DraftSaved but not yet submitted
PendingPending submission to the cloud provider
QueuedPreconditions such as capacity, deposit, and budget are being checked
WarningA precondition produced a warning, for example a budget threshold crossing
StartingThe cluster is starting
RunningThe job is executing
CompletedThe job finished its task
FailedThe job failed due to an error
StoppingThe job is shutting down and saving files
StoppedThe job was manually stopped

Workstation statuses​

Workstations report all of the above, plus three states that exist because a workstation can be paused instead of only terminated:

StatusMeaning
ActiveThe workstation is running and available to connect to
SuspendingThe workstation is being paused; state is being preserved
SuspendedPaused, not billed for compute, resumable

See suspend and resume for moving between those states.

List-view filters​

The Jobs and Workstations page groups resources into filters that map onto these statuses:

FilterIncludes
ActivePending, Queued, Starting, Running, Active
CompletedCompleted, Failed, Stopped
TemplatesSaved job configurations, not runs
Shared with MeResources another user shared with you
ArchivedResources you archived

What a failure looks like​

If any stage fails, its checkmark becomes a red X and the job moves to Failed. Which stage failed narrows the cause considerably:

Failed atLook at
QueuedDeposit, budget, or capacity — the job never launched
Validating InputYour input files and launch command
Starting ClusterCapacity, or a coretype/region combination that isn't available
Running JobYour solver — start with reading logs
Stopping ClusterFile transfer; results may be partially saved

Jobs you stop yourself end in Stopped rather than Failed. Jobs that finish normally end in Completed.

Completed does not mean correct

Completed means your command ran and exited. It does not mean the solver converged or produced the answer you wanted. See exit codes for why exit code 0 isn't proof of a good run.