subagent and bash daemons: the runs' memory ceiling sits on their cgroup node, not on the unit
This commit is contained in:
parent
648076419f
commit
897f8af77d
1 changed files with 109 additions and 33 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue