# The outer memory wall of the memory-pressure containment design # (2026-08-28 §2.2), moved here from carlos-edge.service by the isolated-exec # design (§4.3): exec-backed instances used to be the edge's children, so a # ceiling on the edge unit bounded the agent plus every awake instance at # once. They are sibling units now, so the ceiling lives one level up, on # a slice that holds the edge AND carlos-instances.slice, and bounds exactly # what it bounded before. Borrowing between agent and tenants and the OOM # candidate set (a tenant at OOMScoreAdjust=500 is picked before the agent) # are unchanged. # # Percentages so one file fits a t4g.micro and a t4g.medium; 80% leaves what # the box's other units (keymail, console, ssm, litestream, journald) use. [Unit] Description=carlos (edge, activator and every exec-backed instance) [Slice] MemoryHigh=70% MemoryMax=80%