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 4.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.
    • S Do not disturb
      sdetweil @yk
      last edited by

      @yk also consider increasing the system swap space

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

                        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
                        • 1 / 1
                        • 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