Read the statement by Michael Teeuw here.
Issues with MM freezing and RPI3 running Hot
-
@Detto65 memory install watchdog to help reboot it when it crashes from running out of memory
-
i wonder if a watchdog will be able to restart the pi when its locked up, i cant access it through SSH either when it happens.
my stats do not show a memory problem btw (19% free ram, but a very high cpu load), of course that is just before the screen froze… -
@Detto65 ram over days drop down my 4Gb pi is running 50% free from 87% when it first starts, it’s now 10days thanks to watch Dog and free memory has gone up. I use to get that on the pi 3B it’s a 100% memory that’s used once it gets to that it will crash the pi altogether and you will have to power it down ie reboot. Only way around that was a Cron Job that restarted MagicMirror every 12hours, give that a go, check out how many hours it takes to lock up you may need to make this 6hour intervals
-
this MM, and the same pi (3B), has been running without any issues for nearly a year, problems started when using the last raspbian (Buster) version, and MM 2.8.0.
It has been running on stretch, but i am not sure about the MM version it was on before the sd card problem.
Will try watchdog, and report here if there are any improvements.
(btw Cron is already rebooting the pi every 24 Hrs).
As said before, the temperature issue was also not a problem on raspbian stretch, in nearly the same configuration of the same MM. -
It was a memory issue, but watchdog did not solve it.
my swap space of 100MB ran full within an hour or so, so i made it bigger to 150MB.
The MM ran for a week, and it froze again…
Made the swap space 2 GB ( twice the memory size of my Pi 3B), and it did not crash or freeze since i made that adjustment.
swapfile is around 220 MB at this moment, so 2 GB is a little overkill i guess
The pi does a scheduled reboot every morning. (As it has always done)