Read the statement by Michael Teeuw here.
[SOLVED] random black screen
-
@qu1que this error implies u are running MagicMirror in a docker container,
MagicMirrorOS
or one of the docker implementations -
Thanks for the reply, but no docker installed in that raspbery, I’ve installed following the standard method 3 or 4 years ago, and doing the updates when they are ready. I’ve also have 2 backups of the entire micro SD. But maybe I’ll try a clean installation someday and see what happens.
-
sounds like a memory problem on your raspberry pi, may other applications are running beside mm which need much memory or some modules of mm are “eating” memory …
-
@qu1que maybe increase the swap space?
-
This might be not related, but why are your newsfeeds so many and frequently fetched?
-
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.
-
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. -
Maybe, I’ll try disabling some modules. Thanks. i will tell u when I try it.
-
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.
-
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"] } },