[Unit] Description=Human-owned interactive sessions (exempt from every machine-side kill policy) [Slice] # Every limit that could appear here is a way the user's own session dies, so none is set. TasksMax=infinity MemoryMax=infinity MemoryHigh=infinity MemorySwapMax=infinity # memory.min is clamped by every ancestor's own reservation: an ancestor at 0 makes this 0 # no matter what the file reads back. install-human-slice reserves the same amount on # user.slice, user-1000.slice and user@1000.service. MemoryMin=8G MemoryLow=12G CPUWeight=1000 IOWeight=1000 # systemd-oomd never selects this slice or anything under it. ManagedOOMPreference=omit ManagedOOMSwap=auto ManagedOOMMemoryPressure=auto