Dev Tools · 2h ago
Claude Code leaves orphaned processes saturating CPUs
A developer found ten orphaned zsh processes from a Claude Code session consuming 60% CPU each on a 10-core machine, with load averages over 120. The processes were reparented to PID 1 after their parent died, running busy-loops for nearly two days. The article provides a prompt to identify and safely kill such orphaned processes.
Meridian48 take
This highlights a real but niche risk of AI coding assistants leaving behind resource-hungry background tasks, though the prompt-based fix is a clever workaround.
claude-codeorphaned-processes