In this article
Inspect slot ownership after a run ends and configure the documented cleanup grace period; a terminal run status alone does not prove capacity has been released.
Investigate the idle service with a waiting queue
An extraction service appears idle after a research run was cancelled, yet later steps cannot acquire its pool. Dagster’s pool documentation warns that slots held by cancelled or failed runs are not automatically freed by default. A finished run record and available pool capacity are separate states. Repeatedly submitting more research can enlarge the backlog without releasing the abandoned capacity.
Find which run still owns the slot
Inspect the pool’s occupied slots and their run identities before changing the limit. Determine whether an owner is still active, finished or stuck during cancellation. A displayed terminal state should be compared with actual worker cleanup where relevant. The issue is not necessarily insufficient service capacity: increasing the configured limit can conceal stale ownership while leaving the same lifecycle problem for the next interrupted run.
Configure reclamation through run monitoring
The run-monitoring guide defines free_slots_after_run_end_seconds for reclaiming slots still held by finished runs after a configured interval. The grace period gives executor processes time to exit before capacity is reclaimed. Run monitoring must be active under the documented deployment arrangement. Treat the interval as a deliberate cleanup policy, rather than promising that cancellation immediately makes the service’s pool slot reusable.
Separate stale slots from other waiting causes
The troubleshooting guide also identifies daemon health, run-queue configuration and shared instance storage as reasons runs may not progress. Check the state in which work is waiting. A deployment-wide queued run and an executing run’s step waiting for a pool need different investigations. Tool observations should retain the relevant owner, waiting stage and monitoring status instead of collapsing all delays into an extraction outage.
Confirm recovery with newly admitted work
After an authorized cleanup or configuration correction, observe capacity reclamation and a waiting step acquiring its slot. Also inspect whether any old worker can still produce external effects. Task contracts keep the intended artifact separate from orchestration status. Recovery is established by the ownership transition and resumed execution; a green monitoring process alone does not show that the blocked analysis has actually gained access to the shared resource.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.