Files
orangecat/scripts/systemd
Cato ab03ca70c3 fix(deploy): cap the app's V8 heap below its cgroup memory limit (#1784)
The app froze six times on 14-15 Nov with its main thread stuck in
__mem_cgroup_handle_over_high: memory sat at 790-850 MiB against the
unit's 768M memory.high, so the kernel throttled it instead of killing
it, and every stop needed SIGKILL. V8 sizes its heap from the machine's
RAM, not the cgroup, so it never ran a full collection before crossing
the throttle point. Run node with --max-old-space-size=512, self-healed
into the box launch.sh on each deploy like the header-size flag.
2026-11-15 07:33:59 +01:00
..