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
Copyright © 2021 Jogjafile Inc.
Pm2 generally gives a name to process group. You can check that with
pm2 listand then runpm2 delete processnameOr run
pm2 delete allto delete all processes