You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[macOS] Codex spawns ~100 zombie child processes per 5 seconds at startup, exhausting process limit (kern.maxprocperuid=2666) #28244
Reproduction: Immediate on app launch, no user interaction required
Description
Immediately after opening Codex, the main process (Codex.app/Contents/MacOS/Codex) spawns < />100 <defunct> zombie child processes every 5 seconds (< />20/sec). These are never reaped, accumulating until macOS's per-user process limit (kern.maxprocperuid = 2666) is exhausted.
When the limit is hit:
System load spikes to 500–900
macOS cannot fork any new processes (all apps affected)
Codex itself disconnects and attempts to reconnect in a loop
Other apps (Xcode, Chrome, terminal) become unresponsive
Reproduction Steps
Ensure system is clean (0 zombie processes)
Open Codex.app
Do nothing — observe with watch -n1 "ps aux | awk '\$8==\"Z\"' | wc -l"
Result: zombie count grows at ~100/5s, hits ~2600 within ~2 minutes
Activity
github-actions commentedon Jun 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
review-summaryspawns thousands ofgit hash-objectprocesses when nested repositories are present #27570Powered by Codex Action