PM2 crashes every 88 seconds
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
My coworkers and I spent the entire day trying to figure out why our app kept crashing every 88 seconds.
Originally we did not know that our app was crashing on a consistent time basis. We had assumed it was tied to traffic and/or a background worker.
After watching pm2 monit, we discovered it was crashing every 88 seconds. We searched this StackOverflow which suggested running pm2 update.
This was really frustrating because we have no idea if this is going to happen again. Is this something that is "pre-baked" into PM2 to cause apps to crash when they are not updated? Or if you could provide some more insight as to why this would resolve our issue, that would be greatly appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the reported behavior with pm2 monit and the effect of pm2 update, then compare it with the linked Stack Overflow discussion. Done means identifying whether PM2 causes the 88-second crash and documenting a reproducible cause or corrective change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100