• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 turning black after a while

Scheduled Pinned Locked Moved Troubleshooting
45 Posts 16 Posters 33.5k Views 15 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.
  • R Offline
    retroflex Project Sponsor Module Developer @Mykle1
    last edited by Jan 26, 2018, 1:04 PM

    @Mykle1 @cruunnerr Thanks. Nmon is a great tip. I can clearly see that I have a CPU issue beside the memory leak. CPU for electron process is at 100% all the time. Currently at 30% mem, but I guess this will increase over time. Will check later.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    1146 pi        20   0  700648 300408  47112 R 100.0 31.6 215:22.52 electron
    

    I’ve read the CPU usage thread and can conclude that I use electron v1.4.15 and MM v2.2.0. Mykle1, the thread said to use an older MM version, but I guess the new one should work ok too? Since electron was forced to the older version in the new release?

    Now all I have to do is check each module I run and check CPU and mem for each :)

    1 Reply Last reply Reply Quote 0
    • R Offline
      retroflex Project Sponsor Module Developer
      last edited by Jan 26, 2018, 8:38 PM

      My problem was MMM-ResRobot. I deactivated it and kept all other modules and now CPU is at 2% and memory stable over time at around 10%. Not sure if the MM/electron/ResRobot update caused the problem, but it worked ok before. Strange…

      M F 2 Replies Last reply Jan 26, 2018, 9:33 PM Reply Quote 1
      • M Offline
        Mykle1 Project Sponsor Module Developer @retroflex
        last edited by Jan 26, 2018, 9:33 PM

        @retroflex said in Mirror turning black after a while:

        and now CPU is at 2% and memory stable over time at around 10%

        That’s great news, mate! I did that testing months ago to determine what was causing the CPU spikes. It was rather rewarding to have discovered the cause. They gave me an award. :-)

        Peace!

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • S Offline
          schlachtkreuzer6
          last edited by Jan 28, 2018, 11:46 AM

          I got the same problem with an TV, around 6 to 9h it went black and I had to restart MM

          1 Reply Last reply Reply Quote 0
          • C Offline
            cyberdie
            last edited by Jan 28, 2018, 5:18 PM

            Same problem here.
            After some hours the creen goes black.
            Pi Zero and “node serveronly”

            R 1 Reply Last reply Jan 28, 2018, 6:07 PM Reply Quote 0
            • R Offline
              retroflex Project Sponsor Module Developer @cyberdie
              last edited by Jan 28, 2018, 6:07 PM

              @cyberdie @schlachtkreuzer6 It seems to be related to a certain module. Most likely it is a memory leak you have too. Try to find out by disabling modules until it works.

              It would be good to find the root cause to this though as many have problems. But that is a bit out of my expertise.

              S 1 Reply Last reply Jan 28, 2018, 7:48 PM Reply Quote 0
              • B Offline
                Binog
                last edited by Jan 28, 2018, 6:57 PM

                me too,… still while after while,… guess have that problem since version 2.0.0 but not sure,. cause update everything regularly,…

                1 Reply Last reply Reply Quote 0
                • S Offline
                  schlachtkreuzer6 @retroflex
                  last edited by Jan 28, 2018, 7:48 PM

                  @retroflex probably we need some code to clear the ram periodically. I think my problem module is the MMM-Globe. But I will have to test it. (about 10 modules… So one module per day… Uff that’s a looooong way.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cruunnerr
                    last edited by Jan 28, 2018, 8:05 PM

                    make two or three per day ;)

                    than it goes faster

                    S 1 Reply Last reply Jan 29, 2018, 7:44 PM Reply Quote 0
                    • R Offline
                      retroflex Project Sponsor Module Developer
                      last edited by Jan 28, 2018, 8:10 PM

                      Maybe this can be the cause?

                      https://github.com/electron/electron/issues/11739

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      3 / 5
                      • First post
                        21/45
                        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