Closed ryan-williams closed 5 years ago
dphys-swapfile
), 3)Other notes:
I switched the influx and grafana servers to a Raspberry Pi 3 B+ booting from a 64GB USB drive with a 2GB swapfile:
Haven't tested running a long-tenured Grafana webapp client on it yet, to test graceful degradation to using swap (cf. #16), but will reopen here if further issues arise.
having a pi powering a desktop GUI with chromium or firefox (#7) showing grafana…
…seems to eventually (≈12h) use the default 100MB swap space (on the SD card) and freeze the whole pi.
This results in some data loss, since one humidity sensor is on that pi (the others buffer data correctly since #2).
This may go away with #16, but in general I probably want a story for at least one pi to power a monitor+browser+dashboard, and some good swap space would help.
There are pi-knockoffs on the market with up to 4GB memory, which I can investigate if I get desperate, but I don't think it should come to that.