s1: resource constraints

This commit is contained in:
2025-11-17 09:32:20 +00:00
parent de9f8ee5c2
commit 56a10fcffa

View File

@@ -128,6 +128,12 @@ in
BindPaths = [ BindPaths = [
"${cfg.dataDir}:/opt/sentinelone" "${cfg.dataDir}:/opt/sentinelone"
]; ];
# mj: resource constraints
CPUSchedulingPolicy = "idle";
IOSchedulingClass = "idle";
IOSchedulingPriority = 7;
BindReadOnlyPaths = [ BindReadOnlyPaths = [
"${cfg.package}/opt/sentinelone/bin:/opt/sentinelone/bin" "${cfg.package}/opt/sentinelone/bin:/opt/sentinelone/bin"
"${cfg.package}/opt/sentinelone/ebpfs:/opt/sentinelone/ebpfs" "${cfg.package}/opt/sentinelone/ebpfs:/opt/sentinelone/ebpfs"