8 lines
381 B
Text
8 lines
381 B
Text
|
|
# Managed by Ansible (resource_limits role)
|
||
|
|
# Caps memory for all processes in the user-{{ resource_limit_uid | default(1000) }}.slice.
|
||
|
|
# Prevents a single user's agent workload from OOM-killing the entire node.
|
||
|
|
# See INC-002 (2026-03-26) for root cause context.
|
||
|
|
[Slice]
|
||
|
|
MemoryMax={{ user_memory_max | default('1500M') }}
|
||
|
|
MemorySwapMax={{ user_memory_swap_max | default('512M') }}
|