flybrain/infra/config/dev-shm-override.conf
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

11 lines
560 B
Text

# infra/config/dev-shm-override.conf — pushed to
# /etc/systemd/system/dev-shm.mount.d/override.conf.
#
# docs/design/infra.md section 1: "/dev/shm in an LXC defaults to a small
# tmpfs and Chromium's renderer will fall over on it. Fix it properly with
# a tmpfs mount unit sizing /dev/shm at 1 GB rather than using
# --disable-dev-shm-usage, which just moves the same traffic onto the
# rootfs." dev-shm.mount is systemd-generated; a drop-in override is the
# standard way to resize it without hand-writing the whole unit.
[Mount]
Options=mode=1777,size=1G