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

[SOLVED] random black screen

Scheduled Pinned Locked Moved Bug Hunt
15 Posts 4 Posters 3.7k 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.
  • S Away
    sdetweil @qu1que
    last edited by Aug 14, 2022, 9:36 PM

    @qu1que maybe increase the swap space?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • M Offline
      MMRIZE
      last edited by Aug 15, 2022, 9:50 AM

      This might be not related, but why are your newsfeeds so many and frequently fetched?

      Q 1 Reply Last reply Aug 15, 2022, 9:56 AM Reply Quote 0
      • Q Offline
        qu1que Project Sponsor @MMRIZE
        last edited by Aug 15, 2022, 9:56 AM

        @MMRIZE

        I don’t know, I have now 14 url of rss feeds, But I’ve tried with less of them and the error does not disappear.

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE
          last edited by MMRIZE Aug 15, 2022, 10:03 AM Aug 15, 2022, 9:57 AM

          Usually broker_posix.cc(46) Received unexpected number of handles error might seem to happen when the memory is insufficient for various reasons. I suspect you try to open too many files(newsfeed??) at once.

          PS
          newsfeed itself might not be the reason. (14 feeds are not TOO MANY). But your other module/process would be eating memory.

          Q 2 Replies Last reply Aug 15, 2022, 10:04 AM Reply Quote 0
          • Q Offline
            qu1que Project Sponsor @MMRIZE
            last edited by Aug 15, 2022, 10:04 AM

            @MMRIZE

            Maybe, I’ll try disabling some modules. Thanks. i will tell u when I try it.

            1 Reply Last reply Reply Quote 0
            • Q Offline
              qu1que Project Sponsor @MMRIZE
              last edited by Aug 15, 2022, 10:11 AM

              @MMRIZE

              The thing is, now that I remember, during the weekend I disabled completely newsfeed module, and the error does not disappeared. Now I’ll try disabling more modules.

              Q 1 Reply Last reply Aug 15, 2022, 11:13 AM Reply Quote 0
              • Q Offline
                qu1que Project Sponsor @qu1que
                last edited by Aug 15, 2022, 11:13 AM

                I’m starting to see my problem…

                Fortunately I had saved an old config.js file with less modules than the one I have now. In studying the differences, I find this in my current config.js file:

                Too many calls to the newsfeed module, surely that’s the reason for the error.

                This is the configuration in the MMM-Pages module that was giving me problems

                {
                module: 'MMM-pages',
                     config: {
                          modules:
                               [[ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                               [ "calendar", "MMM-AirQuality"],
                               [ "MMM-TelegramBot", "MMM-EyeCandy"],
                               [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                               [ "MMM-SolarPicture", "MMM-Lunartic", "MMM-Comics"],
                               [ "MMM-Comics" ],
                               [ "MMM-RAIN-MAP" ],
                               [ "calendar_monthly", "MMM-Tools", "MMM-OpenWeatherForecast", "newsfeed"],
                               [ "MMM-RandomPhoto", "MMM-History"],
                               [ "MMM-WeatherChart"],
                               [ "MMM-AirQuality", "newsfeed"],
                               [ "MMM-Wallpaper"]],
                rotationTime: 30000,
                fixed: ["alert", "updatenotification", "clock", "MMM-OpenmapWeather", "MMM-page-indicator"]
                }
                },
                
                
                S 1 Reply Last reply Aug 15, 2022, 12:05 PM Reply Quote 0
                • S Away
                  sdetweil @qu1que
                  last edited by Aug 15, 2022, 12:05 PM

                  @qu1que MagicMirror can only show or hide modules. it will load all defined in config.js, and then pages will make them show or not…

                  sone modules, not many, will sleep when hidden and restart on show. I don’t know if newsfeed is like that

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  Q 1 Reply Last reply Aug 15, 2022, 12:42 PM Reply Quote 0
                  • Q Offline
                    qu1que Project Sponsor @sdetweil
                    last edited by Aug 15, 2022, 12:42 PM

                    @sdetweil

                    It is possible that in the end the problem was with the resource-intensive MMM-RAIN-MAP module. Now it’s disabled, let’s see what happens…

                    In the end, my method is as simple as trial-and-error until it’s solved.

                    S 1 Reply Last reply Aug 15, 2022, 1:31 PM Reply Quote 0
                    • S Away
                      sdetweil @qu1que
                      last edited by Aug 15, 2022, 1:31 PM

                      @qu1que yrs trial and error is the key tool here

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      Q 1 Reply Last reply Aug 15, 2022, 6:08 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/15
                        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