The PM2's status is online but the service is not working
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
3
As the title, I use PM2 with Nodejs. The PM2's status is Online but sometimes my Nodejs's service is not working.
If I restart the PM2 or run my service by the command line: it's fine.
I read my PM2's log but it's empty. Can someone help me understand this problem? Thanks.
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 reproducing the Node.js service under PM2 and comparing it with running the same service from the command line. Inspect the PM2 status and logs while the service is unavailable. Done means identifying why PM2 reports the process as online despite the service not working, then documenting or fixing that cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100