Open christianp8 opened 11 months ago
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 }, ], };
thank you for those who read this and give me an advice
try adding to your config file
exec_mode: 'cluster', instances: 'max',
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 }, ], };