Watch
0
0
Fork
You've already forked hyperhive
0

subagent and bash daemons: the runs' memory ceiling sits on their cgroup node, not on the unit

This commit is contained in:
damocles 2026-11-26 14:22:57 +01:00
commit 897f8af77d

View file

@ -458,8 +458,9 @@ in
# actually chose and leaves the daemon serving, which is also what
# lets it report the kill rather than vanish and be restarted.
OOMPolicy = "continue";
# `MemoryHigh=` is a drop-in from ./memory-cap.nix, sized at boot from
# the container's cap.
# The runs' memory ceiling is `HIVE_RUNS_MEMORY_HIGH`, a drop-in from
# ./memory-cap.nix sized at boot from the container's cap. Not
# `MemoryHigh=`: that would throttle the daemon with its runs.
User = userName;
Group = userName;
}