Remove MemoryMax=3G from bee-web.service to fix OOM kill during GPU tests
dcgmproftester and other GPU test subprocesses run inside the bee-web cgroup and exceed 3G with 8 GPUs. OOM killer terminates the whole service. No memory cap is appropriate on a LiveCD where GPU tests legitimately use several GB. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,8 @@ RestartSec=3
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
LimitMEMLOCK=infinity
|
||||
MemoryMax=3G
|
||||
# No MemoryMax: bee-web spawns GPU test subprocesses (dcgmproftester etc.)
|
||||
# that legitimately use several GB; a cgroup limit kills them via OOM.
|
||||
# Keep the web server responsive during GPU/CPU stress (children inherit nice+10
|
||||
# via Setpriority in runCmdJob, but the bee-web parent stays at 0).
|
||||
Nice=0
|
||||
|
||||
Reference in New Issue
Block a user