Unitech / Unitech/pm2

pm2 spawns only one process :-(

Open
#5,540 2 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

Dev machine: macOS 12.6.2 (Monterey), processor with 6 cores
Node version: 17.0.1

I'm trying to spawn few processes with pm2 so i'm running the following command:
pm2 start app.js -i max

However to my regret pm2 spawns only one process see screenshot. I was expecting at least 6 processes.
What am i missing here?

Regards,
Omer

Screen Shot 2023-01-28 at 15 02 56

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 pm2 start app.js -i max on the reported macOS 12.6.2 and Node 17.0.1 setup, then inspect the process list shown by PM2. Compare the result with the expected six workers and identify whether the behavior is a defect or an environment-specific limitation. Done means the cause is confirmed and the issue has a reproducible outcome or clear documentation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.