node.js - PM2 cluster mode only starts one instance -


i'm using pm2 clustering. worked fine when using nodejs 0.10.31 , pm2 0.12.14. upgraded nodejs 0.12.4 , pm2 0.12.16 , when launching following command :

pm2 start app.js -i 5 

i :

[pm2] spawning pm2 daemon  [pm2] pm2 daemonized  [pm2] process app.js launched  │ app      │ 0  │ cluster │ 1372 │ online │ 0       │ 0s     │ 30.500 mb   │ disabled │ 

i expected 5 clusters 1 (one row in table). didn't see in logs far. idea ?

you should not use cluster mode node 0.10.x


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -