Unitech / Unitech/pm2

How to activate multithreading on pm2 ecosystem.config.js on this 1 instance?

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

how to activate multithreading on pm2 ecosystem.config.js on this 1 instance, this is my ecosystem.config.js now:

module.exports = {
apps: [
{
name: "Voila-Test-Kernel-10",
script: "/opt/miniconda/envs/project3/bin/voila",
args: ["--no-browser", "/var/www/html/Voila_Home/AnalyticEngine.ipynb", "--template", "vuetify-default"],
interpreter: "/opt/miniconda/envs/project3/bin/python",
autorestart: true,
watch: false,
max_memory_restart: "31G",
instances: 1
},
],
};

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 with the provided ecosystem.config.js and the PM2 configuration documentation for instances and process execution. Clarify whether the requested multithreading concerns PM2 workers or the Python Voila process, then document the supported configuration and its limits; no repository file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, python
Domain
cli, devops
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.