MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Development Branch -- Screen Going Blank

    Scheduled Pinned Locked Moved Bug Hunt
    13 Posts 2 Posters 3.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y Offline
      yk @sdetweil
      last edited by

      @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:

      1. sudo dphys-swapfile swapoff
      2. sudo nano /etc/dphys-swapfile
      3. update CONF_SWAPSIZE to something like 1024
      4. save file (ctrl + x)
      5. sudo dphys-swapfile setup
      6. sudo dphys-swapfile swapon
      7. sudo reboot

      You’re probably right, need to increase. Mine is set to 100 at the moment.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @yk
        last edited by

        @yk yes, good steps

        free -m

        will tell you if any has been used

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        Y 1 Reply Last reply Reply Quote 0
        • Y Offline
          yk @sdetweil
          last edited by

          @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=116

          I wonder if the iCloud hit happens at the same time as the Unsplash hit causing an issue.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @yk
            last edited by

            @yk said in Development Branch -- Screen Going Blank:

            Not sure what this is.
            mem total=925 / used=272
            swap total=1023 / used=116

            if swap was 100, now 116 meg used.
            memory 272 used doesn’t make sense

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            Y 1 Reply Last reply Reply Quote 0
            • Y Offline
              yk @sdetweil
              last edited by

              @sdetweil sorry

              I bumped up the swap already to 1024

              memory
              total = 925
              used = 272

              swap
              total=1023
              used=116

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @yk
                last edited by

                @yk shouldn’t have used any swap if u still have free main memory

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                Y 2 Replies Last reply Reply Quote 0
                • Y Offline
                  yk @sdetweil
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    yk @sdetweil
                    last edited by

                    @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?) ;)

                    Y 1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yk @yk
                      last edited by

                      @sdetweil let’s close this one. There was a need to pass through a height or width value when using MMM-Unsplash. Passing nothing seems to have grabbed the raw file and chewed up a good deal of memory. I’m still monitoring.

                      I’d love to setup a log element that drops memory usage into the pm2 logs. Just fear monitoring memory may eat up too much memory ;) (but I should have plenty of it)

                      I’m using MMM-Tools to display stats, may leverage that.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy