Files
claude/lib/tests
bchanot 6c10d3a220 fix(cc): raise oom_score_adj to 500 inside the session (BLK-044)
sshd's systemd override (OOMScoreAdjust=-1000) is inherited by tmux,
dtach and every claude started via cc, so the OOM killer never picks a
runaway claude; systemd-run --scope rejects the property. The inner bash
raises /proc/self/oom_score_adj to 500 (raise-only) before exec claude.
T7-oom asserts it through the stubbed chain.
2026-11-13 12:40:54 +01:00
..