Read the statement by Michael Teeuw here.
Development Branch -- Screen Going Blank
-
No changes to installation. Pi pointed to development branch. Recently screen going blank. A restart using pm2 fixes it. Going to start going through logs but it’s an odd one. Happy to do any other debugging the group feels would help (“can you check a,b,c”).
-
@yk try opening the developers window when blank
ctrl-shift-i, select the console tab
also, are there any errors in the pm2 log ?
pm2 logs --lines=??? ??? is a number, default 15
when did u switch to the develop branch?
do
grep version ~/MagicMirror/package.json
to verify version is 2.15-develop
-
@sdetweil thanks!
Confirmed on the correct version
“version”: “2.15.0-develop”
Interesting item in the logs:
[975:0310/092506.157270:FATAL:memory.cc(22)] Out of memory. size=174170112
Only change would be the previous item you and I discussed around MMM-Unsplash. I’m curious if using the “raw” version of the image continues to chew up memory. Something to keep an eye on for sure. I’m using one of the tools modules to keep an eye on CPU and memory - I don’t see it growing throughout the day though. Perhaps it’s a “perfect storm of refreshes” that happens.
Next time I see the screen go blank I’m going to check logs immediately.
-
@yk also consider increasing the system swap space
-
@sdetweil that’s a good point. It happened again - I gather that’s probably a best option.
Keep me honest, is the below the best approach?
For others searching in the future:
- sudo dphys-swapfile swapoff
- sudo nano /etc/dphys-swapfile
- update CONF_SWAPSIZE to something like 1024
- save file (ctrl + x)
- sudo dphys-swapfile setup
- sudo dphys-swapfile swapon
- sudo reboot
You’re probably right, need to increase. Mine is set to 100 at the moment.
-
-
@sdetweil keeps happening unfortunately. it might be time to start removing modules to see if that helps.
Two errors seen:
out of memory error and also saw a fatal: unable to access ‘https://github.com/MichMich/MagicMirror.git/’: gnutls_handshake() failed: Error in the push function.I’m only using:
MMM-MyWastePickup (only uses local file)
MMM-Unsplash (hits Unsplash twice an hour)
MMM-DarkSkyForecast
MMM-Tools
Calendar does an iCloud refresh using vdirsyncer (every 30 minutes)Calendar-Fetcher looks to be doing a broadcasting of events every 10 to 12 minutes. Not sure what this is.
mem total=925 / used=272
swap total=1023 / used=116I wonder if the iCloud hit happens at the same time as the Unsplash hit causing an issue.
-
@yk said in Development Branch -- Screen Going Blank:
Not sure what this is.
mem total=925 / used=272
swap total=1023 / used=116if swap was 100, now 116 meg used.
memory 272 used doesn’t make sense -
@sdetweil sorry
I bumped up the swap already to 1024
memory
total = 925
used = 272swap
total=1023
used=116 -
@yk shouldn’t have used any swap if u still have free main memory