By mistake , I run the following command on the server
pm2start app.js -i 3500
Now on server multiple instances are creating in cluster mode. Can anyone suggest how can i stop this ? And how can i delete already instances ?
Thanks
By mistake , I run the following command on the server
pm2start app.js -i 3500
Now on server multiple instances are creating in cluster mode. Can anyone suggest how can i stop this ? And how can i delete already instances ?
Thanks
Pm2 generally gives a name to process group. You can check that with pm2 list
and then run
pm2 delete processname
Or run pm2 delete all
to delete all processes