Monday, February 2, 2026
Claude Code Issues
Users are reporting issues with Claude Code, including forkbomb-like behavior, command execution errors, and orphaned child processes that consume excessive system resources.
I think I discovered a forkbomb in claude code: if you set your statusline to "sleep 1;date", run any prompt ('hello') and esc Ctrl-D Ctrl-D to exit, the cpu shoots to 100% and macOS becomes unresponsive. If you can get "ps aux" to work, it shows thousands of defunct processes.
Okay I am trying out Codex because everyone is yelling it is better than Claude Code. But why am I seeing "/bin/ps: Operation not permitted" error for every single cli command??? Apparently the bug has been open for more than 4 months and Codex team didn't seem to care at all?
@bcherny Not sure it's only me... Claude Code spawns Node child processes that sometimes orphan on session exit. They accumulate, consume RAM, and eventually cause system thrashing/hangs. @claudeai