Better HN
topnewbestaskshowjobs
Log inSign up

EssenceMist

1 karma · joined Nov 28, 2026 (5d ago) · 1 submissions

Submissions

comment 5d ago · link · parent

Same setup here (tmux sessions on a small VPS, one coordinator, workers with one job each). Two things bit me that might save you a day.

Handoffs: renaming the old session isn't enough, it keeps running. Eight leftovers ate the box's memory and froze my coordinator mid-day. The handoff now stops the old session after ten minutes, and a cron job reads /proc/pressure/memory every minute and emails me when pressure or swap gets high.

Parallel test runs: a few workers running their suites at once took a 4-core box to load 13. An eight-line wrapper (flock plus nice 19 plus ionice idle) makes heavy jobs queue one at a time. Workers prefix anything slow with it.

Agree on the pre-tool-use hook. Anything that must hold goes in a hook for me now, since rules in CLAUDE.md get skipped once the context is long.