Read the statement by Michael Teeuw here.
Development Branch -- Screen Going Blank
-
@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
-
@sdetweil agreed.
But i’m seeing the below after another memory issue today.
type total used free shared buff/cache availabl
Mem: 925 291 367 9 267 571
Swap: 1023 93 930 -
@sdetweil I’m working with the developer of MMM-Unsplash. This might be down the the usage of “raw”. Will revert.
Separately, just to confirm: no issue with calendar fetcher broadcasting every 10 minutes? What is it doing? (can you tell I’m sniffing everything now?) ;)