feat: add bounded root cgroup file reclaim
This commit is contained in:
@@ -223,7 +223,7 @@ gc:
|
||||
minAgeHours: 336
|
||||
maxDeletePerRun: 5
|
||||
memoryPressure:
|
||||
planPreviewLimit: 4
|
||||
planPreviewLimit: 2
|
||||
processPatterns:
|
||||
- k3s-server
|
||||
- containerd
|
||||
@@ -291,6 +291,14 @@ gc:
|
||||
targetMemAvailableBytes: 3221225472
|
||||
minimumSwapFreeBytesAfterReclaim: 34359738368
|
||||
targets:
|
||||
- id: root-cgroup-file-cache
|
||||
rootCgroupSelector:
|
||||
scope: root
|
||||
reclaimBytes: 805306368
|
||||
swappiness: 0
|
||||
minimumInactiveFileBytes: 268435456
|
||||
minimumReclaimableFileSlabBytes: 1073741824
|
||||
priority: 2
|
||||
- id: k3s-service-inactive-anon
|
||||
systemdUnitSelector:
|
||||
unit: k3s.service
|
||||
|
||||
Reference in New Issue
Block a user