npm install
npm start
- to start pm2 in cluster mode with 2 instancesnpm stop
- to stop pm2node index.js
- to start app without pm2node test
- hit page 100 times usingab
(mac/linux only)
- On [email protected], pm2 cluster mode is acting very weird when hitting udp client code. First request is fine but pm2 is crashing without any error/warning and not recovering at all. Same usecase works perfectly fine on plain node.