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 1.6k 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 @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.

      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.

          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.

                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
                  • S Offline
                    sdetweil @plainbroke
                    last edited by

                    @plainbroke IMG_0826.png

                    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

                      @plainbroke i think most often is the parent dies but the child was still running…

                      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 @karsten13
                        Found It

                        ps ux | awk '{if($8=="Z") print}'
                        pi          1170  0.0  0.0      0     0 ?        Z    16:36   0:00 [xsettingsd] <defunct>
                        
                        

                        What is xsettingsd?
                        Should x11 be running with wayland ?
                        Seems like a duplicated background app running or do they not do basically the same thing.?

                        I did kill the 1166 which turned out to be the parent of the 1170 xsettingsd
                        Mirror restarted I assume due to PM2 being involved.
                        It restarted MUCH faster than normal. The MMM-Snow is running smoother.
                        I guess only time will tell.

                        Slow learner. But trying anyways.

                        1 Reply Last reply Reply Quote 0
                        • plainbrokeP plainbroke has marked this topic as solved on
                        • plainbrokeP plainbroke has marked this topic as solved on
                        • 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