Files
umami/scripts
Stanislaw d13085fdd6 Run server as PID 1 in Docker to drop idle launcher processes
The container CMD ran `npm run start-docker`, i.e. `npm-run-all check-db
update-tracker start-server`. After the one-shot tasks exit, three Node VMs
stay resident for the container lifetime (npm -> npm-run-all -> npm ->
node server.js), each holding tens of MiB of anonymous memory for nothing.

Replace it with a small start script that runs the one-shot steps and then
`exec node server.js`, so the server becomes PID 1 and no launcher wrappers
remain. On a dev 3.2.0 build under realistic load the container RSS dropped
~28% (memory.stat anon 255 MiB -> 183 MiB); migrations still apply and
/api/heartbeat serves normally.
2026-06-20 13:13:39 +02:00
..
2025-12-04 00:53:54 -08:00
2025-10-01 10:21:20 -07:00
2025-04-29 14:36:52 -07:00
2025-12-04 00:53:54 -08:00
2025-04-29 14:36:52 -07:00
2025-04-29 14:36:52 -07:00
2025-04-29 14:36:52 -07:00