fix: restore PATH for systemd-run and use AllowedCPUs
CI / check (push) Successful in 29s
CI / tests-imaging-browsers (push) Successful in 1m42s
CI / tests-integration (push) Successful in 1m49s
CI / tests-quality (push) Successful in 57s
CI / tests-unit (push) Successful in 3m51s
CI / tests-ui (push) Successful in 4m46s
CI / preflight (push) Skipped
CI / deploy (push) Failing after 29s
CI / check (push) Successful in 29s
CI / tests-imaging-browsers (push) Successful in 1m42s
CI / tests-integration (push) Successful in 1m49s
CI / tests-quality (push) Successful in 57s
CI / tests-unit (push) Successful in 3m51s
CI / tests-ui (push) Successful in 4m46s
CI / preflight (push) Skipped
CI / deploy (push) Failing after 29s
This commit is contained in:
1 parent
fbf98cd2b5
commit
6c89a7ed46
1 file changed
+1
-1
@@ -181,7 +181,7 @@ run_systemd() {
|
||||
# expliciet: deze host heeft geen swap.
|
||||
local high=$((effective * 95 / 100))
|
||||
echo "[mem-cap] systemd cgroup MemoryHigh=$((high / 1024 / 1024))MB MemoryMax=$((effective / 1024 / 1024))MB MemorySwapMax=0: $*" >&2
|
||||
exec "${systemd_cmd[@]}" -p "MemoryHigh=$high" -p "MemoryMax=$effective" -p "MemorySwapMax=0" -p "CPUAffinity=$cpu_affinity" "$@"
|
||||
exec "${systemd_cmd[@]}" -E "PATH=$PATH" -p "MemoryHigh=$high" -p "MemoryMax=$effective" -p "MemorySwapMax=0" -p "AllowedCPUs=$cpu_affinity" "$@"
|
||||
}
|
||||
|
||||
run_ulimit() {
|
||||
|
||||
Reference in new issue
Block a user