r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

Monitoring memory usage and restarts #115

Open jeroen opened 2 years ago

jeroen commented 2 years ago

Follow-up on https://github.com/r-universe-org/bugs/issues/110

Should invest in some tooling to monitor restarts and memory usage, e.g. https://twitter.com/_ColinFay/status/1357681042472247297

Do see current memory usage:

docker stats

Both nodejs and mongodb use about 1.5GB now which is more than I would expect. Should investigate if this is stable or growing over time to detect a leak.

NodeJS: https://stackoverflow.com/a/30615538/318752 MongoDB usage: https://dba.stackexchange.com/a/192309