MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

PM2: Four instances using 100 % CPU

  • Hallo 🙂

    I know it’s not how it’s supposed to be but I use a Pi Zero running Stretch lite. I start the Mm using „node /serveronly“ in a .sh script and launch chromium afterwards.

    Typing in these commands works perfectly fine. Everything takes some time to boot, but then, it just works.

    To start it after bootup, I use Pm2. It takes some time but it works. The problem is: the Pi‘s CPU is at 100 % all the time since node /serveronly runs 4 times and each needs between 15 and 20 %.

    How can I fix that? Any idea?

Log in to reply