MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Tags
    3. zero
    Log in to post
    • All categories
    • J

      PM2: Four instances using 100 % CPU
      System • pm2 zero instances • • janth

      1
      0
      Votes
      1
      Posts
      1124
      Views

      J

      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?

    • M

      SOLVED RPi Zero Troubleshooting
      Troubleshooting • zero pi 0 pi zero blank screen • • MattSharp

      2
      0
      Votes
      2
      Posts
      1642
      Views

      M

      Did some digging in the forums and found that

      npm install --unsafe-perm

      Looks to have fixed my issue!

    • W

      How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
      Tutorials • raspberry pi pi0 zero pizero pi1 • • Wieber

      204
      18
      Votes
      204
      Posts
      260731
      Views

      L

      @asaxena11

      sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb sudo dpkg -i node_latest_armhf.deb sudo apt-get install npm

      My problem:
      I made fresh installation of whole magic mirror about 2 weeks ago because I had a problem with screen size - have huge black part of screen which is “covering” right modules.
      I tried electronOptions, modifiyng the /boot/config.txt and without luck.
      I am running 2.4.1 on fresh installation of Stretch Lite

    • 1 / 1