Read the statement by Michael Teeuw here.
why does my MM on pi crash every night?
-
@sdetweil I believe some one said the swap file was not big enough and the pi was burning through it and when it was full it would crash so I think they upped it to 4Gb
-
@dazza120 but why does it only crash at night? same system runs great all day long
upped swap to 1g, from 99meg (which was all used) -
@sdetweil I would imagine it’s full around that time mine use to crash every 12 hours without fail, I put it down to ram on the pi3B+ I got the pi 4 4Gb and it doesn’t crash anymore with the help of Watchdog too. Ram just gets eaten on the pi
-
-
-
@dazza120 thx… had seen that… and it looks like the ui thread had died… (when debugging in the past)
both the other systems have swap at 1024 (odroid has 2meg ram) and 1978 (nano has 4gig ram) -
just for info… both the main modules background images and my water monitor app, stop processing while hidden, and my mmm-sleepwake puts the mirror to sleep (by hiding all the modules)
-
just crashed again, watchdog killed it… not memory…
so I found the only path thru my water monitoring module with code that isn’t mine, and wrapped it in an exception handler to see if it is failing…
we shall see
-
@sdetweil so far, does not crash.
If I add Watchdog, it gets restarted.
I’ve made the timeouts really long. Still fails overnight -
Not sure, but worthy to check wifi autosleep of rpi, I think humbly.
-
@Sean thanks, will check.
-
@Sean
power mgmt was off for that wireless adapter…
the other two systems are on ethernet wire
-
i took out Watchdog, it caused restarts every night… the system ran fine overnight, without any issues…
so I think there is a problem with Watchdog itself…
-
watchdog has a problem… removing… have not crashed since increase swap space…
will close for now as I work on the watchdog socket problem
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login