pm2 + winston : too many unstable restarts
See original GitHub issueI 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:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top 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 >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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
guys I have the same issue, did you find any workaround
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