Unitech / Unitech/pm2

The PM2's status is online but the service is not working

Open
#5,484 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.