Unitech / Unitech/pm2

[PM2] Node server running without response

Open
#5,468 0 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

What's going wrong?

I use pm2 to manage my node server, pm2 is running as none root but node server as nobody.
I found that sometimes it will stop responding without a reason, but pm2 list tells me online and every thing is fine.
Even if I delete or re start, the request will be pending all the time(all request besides the statics)
The only way to solve this problem is killing the pm2 and restart it.

How could we reproduce this issue?

Supporting information

pm2 : 5.2.0
node: v16.13.0

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

No source file, entry point, reproduction steps, or test is named. Start by reproducing the stalled requests with PM2 5.2.0, Node v16.13.0, PM2 running as non-root, and the server as nobody; compare the process status with request behavior and document a reliable reproduction and the conditions that prevent it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.