-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU Usage in Latest Version: Electron Process Consumes 100% CPU Intermittently #3163
Comments
I cannot reproduce this. My setup: Server on a rpi4 in server only mode (this pi has no screen) and the client on another rpi4, both current mm version with default config.
If you think it is the electron version you can downgrade it in the |
Thanks for the quick reply!
docker-compose:
this is my config (I removed the api keys and some other privacy related values)
Thank you for the suggestions! |
before investing more time I will wait for your answer ... I like |
OK, here are my findings:
If you can guide me on where to investigate further, I'm open to more debugging. However, I don't want to take up too much of your valuable time with this issue, especially if it's unique to my setup or the combination of modules I'm using. One option for me is to revert the client to an older version that worked seamlessly for years and could also handle the |
so we are a step closer ...
thats strange ... I did my tests with docker containers on both sides.
no, this was only a quick hack, if you want to use 2.20.0 you should checkout this version with You could test the newest electron version |
@theskyisthelimit any news? Or can we close this? |
Thank you and sorry for the delay. I reverted to V2.20.0 and the CPU load was also at 100%. My Magicmirror is working again. Its possible that it was also consuming 100% of the CPU before i upgraded to the latest. I think we can close this issue for now. |
Hello Everyone,
I have been running the MagicMirror for years on my Raspberry Pi 2 in client-only mode. Recently, I made the "mistake" of executing a
git pull
, and after that, nothing worked. I couldn't get it to run on the Raspberry Pi 2 again. Considering the performance was never optimal on the Raspberry Pi 2, I decided to do a fresh Raspbian install on a Raspberry Pi 3B+. For the installation, I used the amazing script by @sdetweil . However, after applying the hotfix from this link, the software starts, but the Electron process intermittently consumes +100% of the CPU. Every so often, the MagicMirror runs smoothly for about 10-20 seconds, but then, seemingly out of nowhere, the Electron process maxes out the CPU again, leading to poor performance. I even tried the same SD card from the Raspberry Pi 3 on a Raspberry Pi 4 with 8GB of RAM, but the issue persists. I'm not sure what changed between the version I had been using and the latest release, but something seems off.Any advice or suggestions would be greatly appreciated.
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: