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

PM2: Four instances using 100 % CPU

Scheduled Pinned Locked Moved System
pm2zeroinstances
1 Posts 1 Posters 1.4k Views 1 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.
  • J Offline
    janth
    last edited by Jun 29, 2018, 9:44 PM

    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?

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      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