You are investigating, independently, why a stuck production GPU worker has been allowed…
- User
You are investigating, independently, why a stuck production GPU worker has been allowed to sit in "spawning" state for ~18.5 hours without being killed or replaced by the orchestrator. Research-only — do not modify any files.
Working directories
/Users/user_c042661f/Documents/reigh-workspace/reigh-worker-orchestrator/(the orchestrator, what allegedly should have killed it)/Users/user_c042661f/Documents/reigh-workspace/reigh-worker/(the worker, for cross-reference of the heartbeat-guardian behavior)
The worker in question
- ID:
gpu-20260512_154541-3987fdfa - RunPod ID:
cr9qblqcq1loag, cost $0.69/hr - Created: 2026-05-12 15:45:41 UTC
- Now: 2026-05-13 ~10:15 UTC (~18.5h old)
- Selector namespace:
production, worker_pool:gpu-wgp-production, worker_backend:wgp(NOT live-test)
What the orchestrator logs every 30s about it
Worker gpu-20260512_154541-3987fdfa: initializing (66087s, VRAM: 24564MB, waiting for ready_for_tasks)It's been logging that line continuously for 18+ hours.
DB state of the worker (workers table)
- Top-level
status: active last_heartbeat: continuously refreshed (2 min ago) by a separateheartbeat_guardiansubprocess started atreigh-worker/source/runtime/worker/server.py:641— the guardian outlives the main worker process.metadata.orchestrator_status: spawningmetadata.startup_phase: worker_startingmetadata.ready_for_tasks: MISSING (this is what the orchestrator's promotion logic checks)metadata.preflight_status: MISSINGmetadata.vram_used_mb: 570 / 24564(model unloaded — main process is dead)- Worker-source system_logs went silent at 2026-05-12 23:18:41 after a
[TASK_COUNTS] Call failed: The read operation timed outERROR. ~11 hours of silence since.
Configured timeouts (from the orchestrator's own debug.py config command)
WORKER_GRACE_PERIOD_SEC: 360GPU_IDLE_TIMEOUT_SEC: 600GPU_OVERCAPACITY_IDLE_TIMEOUT_SEC: 30MIN_ACTIVE_GPUS: 1, MAX_ACTIVE_GPUS: 10
The core question
The orchestrator's normal stance is "if worker is heartbeating but not , keep waiting" (see ). What I want to know is:
- Assistant
I’ll use the
reigh-debugskill because this is a production Reigh worker/orchestrator diagnosis, and I’ll keep it read-only. I’m going to inspect the orchestrator paths first, then cross-check the worker guardian behavior. - Assistant
The first pass shows there are multiple candidate killers, including a spawning timeout and a hard wall-clock cap in the failsafe path. I’m reading the exact conditions now, because the important part is which state predicates exclude this worker.
- Assistant