Can I get some help troubleshooting why my Raspberry Pi setup keeps locking up?
It’ll run fine for a while, maybe 12 hours or so, and then it goes down, can’t ssh in, can’t VNC in, storage node is down, and I have to pull the power supply and reboot it.
I would start with your powersupply, If your powering a USB hard drive your taking alot more power from the RPI itself, You may need to upgrade to a better one.
The RPi 3, 2, and 1 have shared USB bandwidth with the Ethernet interface and USB ports.
High network load combined with high external USB HDD usage will most likely overload the SoC USB port. It’s very likely that most RPi3 nodes are going to struggle to remain online once all the network caps get removed.
OK the first thing I’m noticing now is that the swap is definitely climbing over time. It’s gone from low 40% to low 50% in just the time since I last wrote.
It’s a very small swap it would seem, but that’s good (from what I understand) for a Pi because it’ll kill the SD card otherwise.
I would assume that you use a OS with GUI. It’s not recommended to run your node on the raspberry PI with a GUI. You will waste at least 200MB of RAM to handle GUI. The raspberry PI doesn’t have a much RAM to waste it to GUI. It’s much better to run the OS only with CLI.
Also, I would recommend to limit the RAM usage for the storagenode container with a --memory=800m option. In case of OS with GUI this limit should be much lower, something like --memory=600m
Limiting the memory of a container will prevent the RPI from becoming unresponsive but as far as I remember, it kills the container and restarts it. That’s not very healthy to the node either.
And certainly doesn’t solve the problem. The RAM shouldn’t rise until 100% if everything is working normally.