Why Shuffle executions stuck in waiting need a structured diagnosis
A playbook that shows as waiting or queued while alerts keep arriving is a symptom, not a diagnosis. The same visible state can come from the server side, the runtime side, or the connection between them, and fixing the wrong layer wastes time while the queue grows. Treat the stuck run as the start of a short, ordered investigation rather than a reason to restart containers.
The moving parts are easier to reason about once you separate them. The Shuffle server side is a frontend, a Go backend API listening on port 5001, and an OpenSearch document database that stores workflows, executions and saved app credentials. The runtime side is Orborus, which polls the backend for jobs. When a workflow execution is picked up, Orborus starts a worker for that execution, and the worker starts the app containers that perform each action. A run can therefore stall if the backend cannot record or hand out the job, if Orborus never sees it, if the worker cannot start, or if an app container never returns. Each stage leaves different evidence, which is why the diagnosis needs to follow the path.
Your team should work through this page when a run has been waiting longer than your normal execution time and the cause is not obvious from the Shuffle interface, or when one environment stops executing while others run. Start by confirming which environment and which Orborus node the run belongs to, then check the backend and OpenSearch health before touching runtime settings. Bring in an outside partner when the stall recurs after you have corrected the obvious causes, when the platform runs on Kubernetes with RBAC or multi-node Swarm networking that your team has not operated before, when OpenSearch is under memory pressure, or when a stuck run sits in a regulated incident workflow with a notification deadline. Confirm with your Shuffle support channel or documentation which version your deployment runs, because the configuration keys and runtime behavior you check depend on it.
How a Shuffle execution travels from backend to app container
The path starts in the frontend, which sends the run to the Go backend API on port 5001. The backend stores the execution in OpenSearch, and Orborus polls the backend for jobs. Orborus starts a worker for each execution, and the worker starts the app container that performs the action. A run waits at the first hand-off that fails, so check each stage in order and match the symptom to the stage where it stops, using the labels on the diagram.
Hand-offs from frontend to app container, with the failure classes at each stage.
Which causes produce a queued or hanging run
A run that sits in waiting usually means the work never reached a runtime that could start it. The six causes below sit along that path, from the Orborus process that polls for jobs, through the network between runtime and backend, to the node capacity that actually starts app containers. Check them in this order to avoid changing settings that are not the problem.
Orborus state and polling
Orborus polls the backend for jobs and starts a worker for each execution, so if it is stopped, restarting in a loop, or pointed at the wrong environment, jobs are accepted but never picked up. The symptom is a run that stays queued from its first step with no worker activity. Check the Orborus container status and its recent logs first, then confirm it is registered to the environment your workflow targets.
Architecture docsBackend reachability from the runtime
Orborus must reach the Go backend API on port 5001 to fetch jobs and report progress. When that path breaks, the runtime may look healthy while the backend never sees its results, and runs appear hung after starting. Test the connection from inside the Orborus container, not from the host, and check whether the backend address is a hostname that resolves inside the container.
Docker Swarm overlay networks
In a distributed Swarm deployment, workers and app containers attach to overlay networks, and a missing or mismatched network prevents them from reaching the backend or each other. The symptom is that some runs complete while others on different nodes stall. Compare the networks attached to the Orborus service, the worker containers and the backend, and confirm the nodes share the expected overlay.
Kubernetes RBAC for the runtime
On Kubernetes, the Orborus service account needs permission to create and manage the pods that run workers and apps. If the role is missing or scoped to the wrong namespace, pod creation fails silently from the workflow's point of view, leaving executions queued. Check the Orborus logs for forbidden responses, then verify the role bindings in the namespace where runs are scheduled.
Concurrency limits per Orborus
Each Orborus node runs a finite number of workers at once, so a burst of executions beyond that limit waits in the queue even when the host has spare capacity. The symptom is a steady backlog that clears only as earlier runs finish. Review how many executions are active against the configured concurrency for each Orborus, and whether a single long-running or looping workflow is occupying slots.
CPU exhaustion on runtime nodes
Worker and app containers need CPU to start, and a node saturated by other containers, an OpenSearch heavy load or a runaway workflow can delay every new run. Runs start slowly, then time out or hang. Check host CPU and load on each runtime node during the stall, and identify which containers are consuming it before changing any concurrency or resource settings.
How to triage a stuck execution in order
This sequence moves from the workflow record down to the runtime, so you find the layer that is holding a run in waiting instead of restarting services at random. Each step ends with a result that either clears that layer or points you to the next one.
Confirm the execution state in the UI
Open the workflow in the Shuffle frontend and find the execution in its run history. Note whether it shows as queued, executing, waiting on a node, or aborted, and which action it stopped at. Check whether other workflows on the same environment are also waiting, because a shared problem points to the runtime, while one workflow stuck at one action usually points to that action's inputs or app. Record the execution ID and environment name, since every later step uses them. You are done when you can say which node the run is on and whether the problem affects one workflow or several.
Check that Orborus is running and polling
Orborus is the runtime component that polls the backend for jobs and starts a worker for each execution. Check that its container or pod is up on every runtime host, then read its recent logs for repeated polling messages or authentication errors. If Orborus is stopped, restarting it is usually the first fix, but confirm the reason first so the restart does not hide a crash loop. If Orborus is running but logs show no polling activity, the failure is between Orborus and the backend. You are done when Orborus is up on each node and its logs show it picking up work. The architecture and configuration docs describe the expected Orborus settings for your deployment type.
Confirm the backend is reachable from the runtime
Run a request from inside the Orborus container or pod to the backend API address it is configured to use, typically on port 5001 unless your configuration changed it. Test the hostname and the IP address separately, since a name that resolves on the host may not resolve inside a container. A timeout or connection refusal points to networking: overlay or bridge network membership, firewall rules, IP forwarding, or DNS inside the container. A certificate or authentication error points to TLS or the Orborus credentials. For hybrid setups, confirm the outbound path, since the hybrid model needs no inbound ports. You are done when a request from the runtime gets a valid response from the backend.
Check worker and app container starts in logs
When a run is picked up, Orborus starts a worker, and the worker starts a container for each app action. Check the Orborus and Docker or Kubernetes event logs for the execution ID to see whether a worker and the app containers were created. If no worker appears, look for image pull failures, a missing Docker socket or pod scheduling errors. If the worker starts but an app container never reaches running, check whether the app image version exists and can be pulled from your registry, and whether the runtime is blocked from pulling images in an offline or proxied network. You are done when you can see each expected container start for that execution, or you have a specific error to act on.
Check concurrency limits and queue depth
Review the concurrency and execution settings for the environment and the number of executions queued ahead of the stuck run. Shuffle exposes limits in its configuration, and the scaling documentation explains how Orborus concurrency affects how many workers can run at once. If many runs are queued behind a few long-running or looping workflows, the stuck run may be waiting for capacity rather than failing. Look for a single workflow generating many executions, since that often explains a full queue. You are done when you know whether the run is waiting for a free slot and, if so, which executions occupy the slots.
Check node CPU, memory and disk pressure
On each runtime node, check CPU load, memory and disk usage while the run is waiting. Sustained CPU saturation, memory pressure that triggers container restarts, or a full disk can stop new workers from starting even when Orborus and the backend are healthy. Compare these readings with what the stuck runs and running apps demand, and check the OpenSearch host separately if its memory pressure is also high. If one node is saturated and others are idle, the problem may be placement or load distribution rather than total capacity. You are done when the nodes have headroom or you have identified the process consuming it.
Verify cluster permissions on Kubernetes
If your Shuffle runtime runs on Kubernetes, confirm that the service account used by Orborus and the worker has the role bindings it needs to create and manage pods, jobs and related resources in the namespace where apps run. Test the permissions directly with a permission check for the relevant verbs and resources. A forbidden error in Orborus or worker logs points to RBAC. Also confirm that the namespace has no resource quota or admission policy that blocks new pods. You are done when a permission check for the runtime account succeeds and the namespace accepts new app pods. Confirm the exact resources required against the Shuffle deployment documentation for your Helm chart version.
Record the cause and decide on a fix
Once one layer shows the fault, write down the execution ID, the layer, the log line or check result, and the change you made. If the cause is a looping workflow, stop it before restarting anything so that the queue does not refill. If the same layer fails again after a restart, treat it as a root cause problem rather than a transient one. Keep this record with the incident ticket so an escalation to Shuffle or your own platform team starts from evidence. You are done when the stuck runs complete or are deliberately aborted, and the record explains why they waited.
Where the stuck-run checks differ by deployment model
In a single server deployment, the frontend, backend, OpenSearch and Orborus all run on one host through Docker Compose. A stuck run here usually means one of these containers is unhealthy, cannot reach the backend, or has hit a resource limit on the host, so the first checks are container state and the Compose network they share. Because everything sits on one machine, there is no cross-host path to troubleshoot, but a single failing container can stop every workflow at once.
- Container state: Confirm that the backend, Orborus and OpenSearch containers are running and not restarting, using
docker compose psin the directory that holds your Compose file. - Compose network: Check that Orborus resolves and reaches the backend service name on the Compose network, not only on the host.
- Host resources: Look at CPU and memory on the host, since a saturated host delays worker and app container starts.
- Environment values: Confirm the backend URL and runtime settings in the
.envfile match the running services.
Confirm with your platform team how the Compose file was generated and whether any service was customized, because local edits are a common source of drift after upgrades.
A distributed Swarm deployment spreads backend, frontend and Orborus across several servers, and the overlay network carries traffic between them. A run can wait indefinitely when a node cannot reach the backend over that overlay, when an Orborus node is down or not on the expected network, or when a service has no healthy replica to receive jobs. Shuffle's high availability guidance recommends more than one Orborus node so runs continue when one fails, which also means one node can silently stop taking work.
- Overlay network membership: Verify that each Orborus service and the backend are attached to the same attachable overlay network.
- Service replicas: Check with
docker service lsanddocker service psthat backend and Orborus replicas are running on healthy nodes. - Node availability: Confirm every Swarm node is in the active state, since drained or down nodes stop scheduling work.
- Shared files: Where several backends share NFS, confirm the mount is present on every node that runs them.
Confirm with your team which Orborus nodes are expected to be live, and watch for a node that has been quietly out of service since an earlier change.
In the hybrid model, the control plane runs in Shuffle Cloud while a local Orborus on your network starts the workers and app containers. The local Orborus needs no inbound firewall ports because it makes outbound connections to the cloud backend. A run that never starts therefore often points to the local Orborus, its outbound path, or the host that runs it, and not to a service you operate on the cloud side.
- Local Orborus status: Confirm the local Orborus process or container is running and has recent activity against the cloud backend in its logs.
- Outbound reachability: Check that the host can open outbound HTTPS connections to the Shuffle Cloud endpoint, including through any corporate proxy settings.
- Proxy and DNS: Verify that proxy variables and DNS resolution are set for the Orborus container, since a proxy change can break an existing runtime without any inbound change.
- Host capacity: Check the local host, because the workers and app containers that run your playbooks consume its CPU and memory.
Confirm with the Shuffle documentation and your network team that outbound egress rules were not tightened by a recent firewall or proxy policy.
A Kubernetes deployment installs Shuffle with Helm charts, and Orborus must be able to create worker and app pods in the cluster. Runs can hang when the service account Orborus uses lacks the permissions to create or read pods, when a namespace policy blocks the workloads, or when cluster capacity is exhausted. The cluster itself adds failure points that Compose and Swarm do not have, so the RBAC and scheduler state need checks alongside the Shuffle components.
- RBAC and service accounts: Confirm the service account bound to Orborus has the role bindings the chart expects in the target namespace, and that the bindings were not altered by a later policy change.
- Pod status: Use
kubectl get podsin the Shuffle namespace to find worker or app pods stuck in Pending or ImagePullBackOff. - Scheduler and capacity: Check node resources and any resource quotas or limit ranges that prevent new pods from starting.
- Network policies: Review network policies that could block traffic between Orborus, the backend and OpenSearch.
Confirm the exact role and binding names against the chart version you deployed, since these change between releases.
Which fix fits which cause
This table maps each likely cause of a waiting or queued Shuffle execution to the evidence that points to it, the fix approach and whether the fix needs a change window. Work down the rows in order of how cheap the check is, and confirm each cause against your own logs before changing anything in production.
| Likely cause | Evidence that identifies it | Fix approach | Change window needed? |
|---|---|---|---|
| Orborus state | Runs stay in waiting while the backend shows the environment as online, or Orborus logs show it failing to poll jobs or restarting repeatedly | Check the Orborus container status and logs, confirm its environment name matches the one the workflow targets, then restart it and confirm it picks up a test run | Usually no for a single Orborus node; plan a window if other workflows depend on it |
| Backend reachability | Orborus logs show connection or timeout errors to the backend API, and the backend port is reachable from some hosts but not from the runtime host | Verify network path, DNS resolution and the backend address Orborus is configured with, then correct the address or firewall rule | Yes if the fix changes network policy or the backend address used by all runtimes |
| Swarm network | On a Docker Swarm deployment, worker or app containers fail to start or cannot reach the backend, and the overlay network or attached services look incomplete | Confirm the overlay network exists and the services are attached to it, check that the Shuffle services are on the expected network, then redeploy the affected stack | Often yes, because redeploying the stack interrupts running workflows |
| Kubernetes RBAC | Orborus or worker pods are created but fail with forbidden errors in their logs, or no new pods appear for executions | Review the service account, role and role binding used by Orborus and compare against the permissions the Helm chart expects, then grant only what is missing | Usually no for a narrow grant, but confirm with a test run first |
| Concurrency limit | Executions queue behind a steady set of long-running runs while the host has spare capacity, and the queue drains only as earlier runs finish | Review the configured concurrency for the runtime, find long or looping workflows that hold slots, and adjust limits or stop the offending runs | Usually no for a configuration change, though a restart may be needed |
| CPU exhaustion | Host load stays high during waiting periods, app containers are slow to start, and the stall eases when a heavy workflow ends | Identify the busiest containers, reduce parallel load, move runtimes to larger or additional hosts and set resource limits on app containers | Plan a window for adding capacity or restarting runtime hosts |
How concurrency limits and multiple Orborus nodes change the picture
Concurrency limits and the number of Orborus nodes decide how many workflow executions can run at once and what happens when one runtime host goes down, so they belong in the diagnosis of any queued run. Orborus polls the backend for jobs and starts a worker for each execution, which means a run waits whenever the runtime that should pick it up is busy, unavailable or capped. The Shuffle configuration docs recommend more than one Orborus node so that workflows keep running if one fails, and the Shuffle configuration docs are the place to confirm the current guidance for your version.
Limits are a trade-off. A tighter cap on concurrent executions protects the host's CPU and memory from a burst of heavy playbooks or a runaway loop, but it also makes ordinary busy periods look like hangs because new runs queue behind the cap. A looser cap raises throughput for playbooks that fan out into many app calls, and it moves the bottleneck onto the host, where CPU exhaustion then slows every run, including the ones that were fine. Before changing any value, record the queue depth, the per-run duration and the CPU load on each runtime host during a normal busy hour, and set the limit against that baseline rather than against a guessed number.
Adding a second Orborus node improves availability only if the nodes are registered to the same environment and have capacity to pick up work when the first one stops. Check in the Shuffle UI which environments each node reports under, confirm that both can reach the backend, and test the failover by stopping one node in a non-production window while a known workflow runs. If your architecture uses Swarm or Kubernetes, the placement and resource requests for each node also determine whether a second node actually has room to start workers. Ask your implementation partner or your own platform team to write down the concurrency settings, node placement and failover test result so that the next queue incident starts from a documented baseline.
Security points to keep while fixing stuck runs
Troubleshooting a stuck execution often means touching network paths, secrets, cluster permissions and logs, all of which are sensitive. The cards below name the risks that appear while you work through the causes and the checks that keep a fix from creating a new exposure.
Keep the backend off the public internet
Reachability problems tempt teams to open the backend port (5001) to every network so Orborus can connect. Instead, confirm which address Orborus actually uses and allow only the runtime hosts or the private network that needs it. Check that the backend and OpenSearch are not published on public interfaces after the fix, and record the firewall rule you added so it is reviewed and removed when no longer needed.
Architecture docsProtect the encryption modifier
The SHUFFLE_ENCRYPTION_MODIFIER value encrypts saved app credentials and API keys in OpenSearch. Changing it while chasing a fault, or restoring an install with a different value, makes every saved app authentication unusable, and that failure can look like a stuck run. Before any change, confirm the value in your .env or secret store matches the one used when the data was written, and keep a copy in a controlled vault.
Limit Kubernetes RBAC to runtime needs
When executions queue on Kubernetes, it is tempting to grant the Shuffle service account cluster-admin to clear a permission error. Instead, read the exact forbidden verb and resource from the Orborus or worker logs and grant only that role, in the namespace the runtime uses. Review bindings after the incident, since a broad grant left in place widens what a compromised app container could reach.
Review Docker socket access
Orborus and workers need access to the Docker engine to start app containers, and mounting the Docker socket gives that access full control of the host. When a stuck run leads you to change socket permissions or add the runtime user to new groups, document the change and confirm it is still needed. Ask whether your security team has approved socket use for this environment and whether a dedicated runtime host is an option.
Architecture docsTreat logs as sensitive
Orborus, worker and app logs can contain workflow data, hostnames, API responses and occasionally tokens that an app printed during a failed call. Before sharing logs with a vendor, a colleague or a ticket system, remove credentials, customer identifiers and internal addresses, and confirm the recipient is authorized to see the data. Keep copies in the same access-controlled store as the rest of your incident evidence.
Questions teams ask before fixing stuck runs themselves or hiring help
Can our internal team fix stuck Shuffle executions on its own?
Often yes, if someone on the team can read container logs, query the backend API and check the Orborus runtime on each node. Most stuck runs trace back to a short list of causes: Orborus not polling, the backend unreachable from the runtime, Swarm or Kubernetes permissions blocking worker containers, concurrency limits reached, or CPU exhausted on a node. Work through these in order and record what you changed. Bring in outside help when the cause spans several layers, when production is down, or when no one on the team has time to test fixes safely in a change window.
What drives the effort and time needed to fix a stuck run?
The deployment model matters most. A single Docker Compose server with one Orborus node is usually simpler to diagnose than a distributed Swarm, a hybrid setup with a local Orborus, or a Kubernetes cluster with Helm-managed RBAC. The number of Orborus nodes, how many workflows and environments share a queue, whether OpenSearch is a single node or a cluster, and how much access your team can grant all change the work. Ask any partner to state which of these they assumed, how many environments are in scope, and whether the fix includes a written root-cause summary.
What does the work need from our side?
A fix moves faster when the right people and data are ready before work starts. Expect to provide:
- Read access to the Shuffle host or cluster, including the relevant namespaces or Swarm nodes
- Backend, Orborus and OpenSearch logs from the period when runs stalled
- Your
.envvalues with secrets redacted, and the Shuffle version and Docker tags in use - A change window for restarts or configuration edits, agreed in advance
- A named owner on your side who can approve changes and answer questions about the workflows involved
How does DeployOpen price a fix for stuck Shuffle runs?
DeployOpen does not publish a price list. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before work starts, and the quote follows from that written scope. A diagnosis-only engagement costs less than a diagnosis plus remediation and retest, because the second includes making and verifying changes. Ask for the quote to list the environments covered, the access assumed, what is delivered in writing, and whether a follow-up check is included. Any recurring work should be quoted separately.
When does a Shuffle support retainer make sense?
A retainer fits teams that run Shuffle for production security operations and need someone to respond when queues back up, to apply upgrades, and to test runtime changes before they reach production. One-off fixes suit an isolated incident. If you have had repeated stalls after capacity changes, or your Orborus nodes and OpenSearch cluster change often, ongoing support spreads the knowledge across incidents. Ask what response coverage the retainer includes and how upgrades and continuous testing are scheduled, since those terms vary by agreement.
What should we check before escalating a stuck run to a partner?
Collect evidence first so the investigation starts from facts. Confirm whether the Orborus container is running and polling the backend, whether the backend port is reachable from the runtime, and whether the worker container for the stuck execution was created. Note the number of concurrent executions and the CPU load on each node. Capture the execution ID, the workflow name and the time the run began. If you changed the .env file, Docker networks or Kubernetes roles recently, write those changes down too. Do not delete execution data or restart OpenSearch until the logs are saved.
Could a stuck run expose secrets or cause a security incident?
A stalled run is usually an availability problem, but the fix can touch sensitive material. Saved app credentials are encrypted in OpenSearch with the SHUFFLE_ENCRYPTION_MODIFIER secret, so never change or regenerate that value while troubleshooting, because changing it breaks saved app authentications. Also avoid pasting full logs or .env contents into tickets or chat without redaction. If a run stalled because a loop flooded the queue, treat the workflow as a runaway and contain it first. Confirm your own incident process applies before any change.
When a stuck run needs an outside engineer
Escalate to an outside engineer once the triage sequence has been run and the stall keeps coming back, or once the fix sits outside what your team can change on its own. The clearest signals are repeated stalls on the same workflow after you have checked Orborus state, backend reachability and concurrency limits; a fix that needs cluster-level changes such as Kubernetes RBAC bindings, namespace or network policy changes, or overlay network changes on a Swarm that other services depend on; Orborus instances failing on more than one node at once; and any conclusion that the deployment itself has to change, for example moving from a single Docker Compose host to Swarm or Kubernetes, or adding an OpenSearch cluster and extra Orborus nodes to meet the high availability pattern in the Shuffle configuration docs. Those changes touch shared infrastructure, so they need an owner who can review the blast radius before anyone edits them.
The fastest engagements start with evidence, not a description. Before you call anyone, collect the execution IDs of several stuck runs, the workflow and environment each one belongs to, and the timestamps when each run was queued, when it last changed state and when you noticed it. Then pull logs for the same time window from the backend, from every Orborus instance and from the worker and app containers that were supposed to start. Note which Orborus nodes are running, their version and the environment name they register under. Also record the Docker or Kubernetes events for the period, OpenSearch health, and CPU and memory on each host. Keep the raw logs unedited, redact secrets and tokens, and confirm with your own policy whether logs may leave your environment before you share them.
Ask the provider to confirm, in writing, the scope of access they need: which hosts, namespaces or clusters they will touch, whether they need changes to RBAC, network or firewall rules, and whether they will use your change process. Also confirm how the Shuffle version and encryption setup will be handled, because the SHUFFLE_ENCRYPTION_MODIFIER value must stay unchanged during any runtime work. A fixed-scope engagement works best here: the deliverable should be a root cause statement tied to the evidence, the change made or proposed, a retest of a stuck-run scenario, and a note on what your team should watch going forward.
How DeployOpen diagnoses and fixes stuck Shuffle executions
DeployOpen starts with the evidence: which execution is waiting, which Orborus node picked it up, and whether the backend, OpenSearch and the runtime can talk to each other. We then change one variable at a time, so the cause is confirmed before the fix is written into your runbook.
How we scope
- We agree in writing which Shuffle deployment, environments and workflows the stuck-execution work covers.
- We list the runtime locations, Orborus nodes and orchestrators (Docker Compose, Swarm or Kubernetes) in scope before any change.
- Engagements are fixed-scope, and we confirm access to logs, the .env file and the admin API before starting.
How we build
- We trace each stuck run through the backend, Orborus, worker and app containers to find where it stops.
- We check Orborus state, backend reachability, Swarm network settings, Kubernetes RBAC and concurrency limits against your configuration.
- We test each candidate fix in a non-production copy of the environment and record what changed and why.
How we hand over
- You receive a written root cause report with the evidence, the configuration changes and the rollback steps.
- We deliver a short runbook covering queue checks, log locations and the thresholds that should trigger escalation.
- We walk your platform team through a retest so they can reproduce the diagnosis without our help.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
- We can review Orborus concurrency and CPU limits again after your workflow volume or app count changes.
- We confirm the upgrade path with you before any version change, using the release notes for the version you run.

