Skip to content

v4.1.10 — karajan governs its tools' resources

Choose a tag to compare

@manufosela manufosela released this 22 Jul 19:54
0cb54d7

Patch release. Karajan governs its tools' resources, not just your code — born from a real CPU storm (concurrent scans, semgrep taking 14 cores each, orphaned semgrep-core processes).

Added

  • Tool governor (KJC-TSK-0668): every external scanner kj launches now runs governed — machine-wide single-flight (a second kj needing the same tool waits instead of scanning in parallel; locks from dead processes are stolen), --jobs capped at half the CPUs for semgrep, reduced priority (nice +10), and hard timeouts that kill the whole process tree, so an interrupted scan can never leave orphans burning CPU. #1284 #1285
  • kj doctor orphan check: detects scanner processes reparented to init or a systemd reaper, reports them with the exact cleanup command, and offers to kill them. #1285