• 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
  1. Home
  2. michaelmms
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
M
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 1
  • Groups 0

michaelmms

@michaelmms

0
Reputation
247
Profile views
1
Posts
0
Followers
0
Following
Joined Aug 13, 2017, 8:37 PM
Last Online Aug 13, 2017, 8:44 PM

michaelmms Unfollow Follow

Latest posts made by michaelmms

  • PM2 stopped apps - autorestart does not work?

    Hello,
    I have some data collector nodejs apps controlled by PM2. After some hours they are displayed as stopped in “pm2 list”

    Here it some info from “pm2 show”

    │ status            │ stopped                                             │
    │ name              │ order_book_ticker                                   │
    │ restarts          │ 6                                                   │
    │ uptime            │ 0                                                   │
    │ script path       │ /var/cap/public/apis/order_book_ticker.js │
    │ script args       │ D12                                        │
    │ error log path    │ /root/.pm2/logs/order-book-ticker-error-69.log      │
    │ out log path      │ /root/.pm2/logs/order-book-ticker-out-69.log        │
    │ pid path          │ /root/.pm2/pids/order-book-ticker-69.pid            │
    │ interpreter       │ node                                                │
    │ interpreter args  │ N/A                                                 │
    │ script id         │ 69                                                  │
    │ exec cwd          │ /var/cap                                            │
    │ exec mode         │ fork_mode                                           │
    │ node.js version   │ 7.7.4                                               │
    │ watch & reload    │ ✘                                                   │
    │ unstable restarts │ 0                                                   │
    │ created at        │ 2017-08-12T01:05:07.307Z                            │
    └───────────────────┴────────────────────────────
    

    I want pm2 to restart the scirpt always if it crashes…
    May be there is some setting that prevents restarts?

    thx

    michael

    posted in Troubleshooting
    M
    michaelmms
    Aug 13, 2017, 8:44 PM
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