Difference between cluster mode and fork mode when instance : 1
Open
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?
Hi. I'm just curious about the difference between exec_mode : cluster_mode and fork_mode, when instance : 1
When I ran pm2 reload all, fork_mode said that the process did not exist on the port where the server was running, but when I ran it with cluster_mode, the process existed.
Can someone explain it to me?
How could we reproduce this issue?
Supporting information
$ pm2 report
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
No file, test, or reproducible setup is provided. Start by reviewing PM2's documentation and the output of pm2 report for cluster_mode, fork_mode, instance: 1, and pm2 reload all; the work is done when the behavioral difference and the reported reload message are clearly explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, devops
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100