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.

    Mirror Freezing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 4 Posters 2.8k Views 4 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.
    • plainbrokeP Offline
      plainbroke
      last edited by

      Oh and I can ssh in and run date and the time is correct.
      If I run MM in a separate browser on my laptop I pops up and runs fine and very clean. Time is correct. ect. which then causes the MM on the wall to start working again…
      I did run your update script with force tonight when I came home and it had been frozen for approx. 3.5 hrs.
      I am currently watching to see if it freezes again. so frustrating.

      Slow learner. But trying anyways.
      MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
      Running Trixie and the latest MM version.

      S F 2 Replies Last reply Reply Quote 1
      • S Offline
        sdetweil @plainbroke
        last edited by

        @plainbroke start in server mode and connect chrome or some other browser, sounds like an electron problem

        maybe change the pages rate a little (10%)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @also to stackoverflow

          https://stackoverflow.com/questions/72876389/how-does-chromium-implement-failifmajorperformancecaveat

          which points to a graphical module, globe, something doing heavy charts.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @sdetweil
            last edited by

            @sdetweil
            you are correct electron is hoarding resources.
            Is there a way to kill a PID in debian to see what module may be causing this.
            1998
            1988
            and 1949 are top three cpu hogs…

            Slow learner. But trying anyways.
            MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
            Running Trixie and the latest MM version.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @plainbroke
              last edited by

              @plainbroke you can

              sudo kill -9 pid

              but i dont know what functions are in what process, electron decides that. one is the page/tab

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @sdetweil
                last edited by plainbroke

                @sdetweil
                Just did a kill 1998 and it is now not showing up but the mirror is still working,
                I guess I will wait until one of the modules doesn’t work anymore.
                Then i will know which one to remove, right?
                Turns out that was the wireless connection I think.
                MM stopped and I can not access it through ssh time to POPO.
                I will keep after this but I will also stop globe in the config.js. just to see if that helps.
                Thanks for your help I have learned alot tonight about the way debian and MM run.

                Slow learner. But trying anyways.
                MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                Running Trixie and the latest MM version.

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @plainbroke
                  last edited by

                  @plainbroke i think page switching while globe is drawing
                  is probably the cause

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  plainbrokeP 1 Reply Last reply Reply Quote 0
                  • F Offline
                    freelancerakash @plainbroke
                    last edited by

                    @plainbroke this is the best Answer

                    1 Reply Last reply Reply Quote 0
                    • plainbrokeP Offline
                      plainbroke @sdetweil
                      last edited by

                      @sdetweil
                      Not so sure that it was globe came home today and the same screen was stopped,
                      MMM-Dogs and the time was the same 3:37 pm but the real time was 4:30 pm.
                      So re-enabled globe and disabled MMM-Dogs to see if it does it again tomorrow…
                      I am almost wondering if it isn’t something to do with MMM-birthday-paged.
                      It was the last module I remember adding since this started.
                      I will slowly figure it out by disabling one module at a time that seems to hog resources.

                      By the way what do it mean by zombie in top.?

                      top - 16:53:44 up 17 min,  3 users,  load average: 5.34, 5.15, 3.71
                      Tasks: 222 total,   3 running, 218 sleeping,   0 stopped,   1 zombie
                      %Cpu(s): 77.3 us, 12.1 sy,  0.0 ni, 10.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                      MiB Mem :   7820.9 total,   4021.5 free,   1923.3 used,   2830.4 buff/cache
                      MiB Swap:    512.0 total,    512.0 free,      0.0 used.   5897.6 avail Mem
                      
                      

                      Slow learner. But trying anyways.
                      MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                      Running Trixie and the latest MM version.

                      karsten13K S 2 Replies Last reply Reply Quote 0
                      • karsten13K Offline
                        karsten13 @plainbroke
                        last edited by

                        @plainbroke

                        see e.g. https://www.baeldung.com/linux/clean-zombie-process

                        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