Skip to content
Commit c5a6ab2c authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )
Browse files

launcher: reap stale front/engine trees before start



Engines run in their own sessions, so supervisord's killasgroup cannot
reach them; teardown relies on the front's shutdown handler + the
engines' PDEATHSIG. That chain leaked a full front+engine tree across a
restart — two trees then fought over one GPU (phantom VRAM, evictions
freeing nothing, duplicated model workers, requests served by one tree
while logs came from the other). The launcher now pkills any surviving
coderai-front/engine/dinov2-embed processes before starting: at that
point none can legitimately exist.

Co-Authored-By: default avatarClaude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014S8VtAvG499SsCbeESRK7V
parent e9131f38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment