summaryrefslogtreecommitdiffhomepage
path: root/packaging/[email protected]
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 00:56:50 +0900
committerAdam Malczewski <[email protected]>2026-06-28 00:56:50 +0900
commitd1de9ed854addd9cf626af27b41f93f2b59f04ac (patch)
tree1b16e43291f8358ccddb02d1635164b45c58f162 /packaging/[email protected]
parentb83aa8ddbb7023ae9dd0332b4989d4baa11522af (diff)
downloaddispatch-d1de9ed854addd9cf626af27b41f93f2b59f04ac.tar.gz
dispatch-d1de9ed854addd9cf626af27b41f93f2b59f04ac.zip
fix(systemd): add MemoryMax=24G circuit breaker to prevent segfault crashes
The server has a memory leak (~2.5 GB/h) that eventually triggers a Bun runtime segfault. These cgroup limits turn the uncontrolled crash into a controlled OOM-kill → clean restart via Restart=on-failure. MemoryHigh=20G (soft throttle) + MemoryMax=24G (hard cap). Machine has 33.24 GB total; 24G leaves OS headroom.
Diffstat (limited to 'packaging/[email protected]')
0 files changed, 0 insertions, 0 deletions