I'm using PM2 for clustering. It worked just fine when using NodeJS 0.10.31 and PM2 0.12.14. I upgraded NodeJS to 0.12.4 and PM2 to 0.12.16 and now when launching the following command :
pm2 start app.js -i 5
I get :
[PM2] Spawning PM2 daemon
[PM2] PM2 Successfully daemonized
[PM2] Process app.js launched
│ app │ 0 │ cluster │ 1372 │ online │ 0 │ 0s │ 30.500 MB │ disabled │
I expected 5 clusters but I get only one (one row in the table). I didn't see anything in the logs so far. Any idea ?
You should not use cluster mode with Node 0.10.x