question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pm2 + winston : too many unstable restarts

See original GitHub issue

I am not sure if it has to do with winston’s ‘Console’ transport, but I am facing the following issue in my app (using it with pm2). Hapijs’s Good (https://github.com/hapijs/good) had the same issue (https://github.com/Unitech/pm2/issues/659) with the colored logs, but with winston, it happens once in a while, so hard to point out the cause

PM2 Starting execution sequence in -cluster mode- for app name:app-name id:0
PM2 App name:app-name id:0 online
PM2 App name:app-name id:0 disconnected
PM2 App [app-name] with id [0] and pid [25563], exited with code [1] via signal [SIGINT]
PM2 Script /path/to/app.js had too many unstable restarts (15). Stopped. "errored"
PM2 Stopping app:app-name id:0
PM2 PM2 is being killed via kill method
PM2 RPC socket closed

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sandipwanecommented, May 27, 2016

guys I have the same issue, did you find any workaround

1reaction
rainabbacommented, Feb 9, 2016

If you’ve had any luck with PM2, you’ve got my attention. I’ve been using forever because PM2 has NEVER worked (and I’ve tried multiple times over a couple years). My point being that based on my experience, I’d be sure the issue isn’t pm2, but that’s just based on anecdotal evidence to be fair.

Jun-Aug, 2015: https://github.com/Unitech/PM2/issues/1251

Read more comments on GitHub >

github_iconTop Results From Across the Web

Too Many Unstable Restarts · Issue #659 · Unitech/pm2 - GitHub
Hi all - I have a node server which runs fine under forever, and will 'start' under PM2, however, as soon as the...
Read more >
Had too many unstable restarts PM2 - Cleavr
Whenever I'm trying to deploy to server that serves as our staging enviroment I'm getting “had too many unstable restarts”
Read more >
Bountysource
pm2 + winston : too many unstable restarts.
Read more >
pm2 crash with too many unstable restarts (16). Stopped ...
I have created a script that can run the python django application. I run this script using pm2 .
Read more >
PM2 Error: server.js had too many unstable restarts (16 ...
PM2 ERRORserver.js had too many unstable restarts (16). Stopped. "errored" Error Log: 2019-10-26T10:35:44: PM2 log: App [testpp:0] starting ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found