We strongly recommend you to always update your PM2 since it comes more stable and efficient at every release.
- Enhancement: Reduced memory footprint !
--no-autorestart
flag : starts an app without automatic restart feature
("autorestart" : false
in JSON declaration)--no-vizion
flag : starts an app completely without vizion features
("vizion" : false
in JSON declaration)- Fix #1146 : add module._initPaths() on ProcessContainer.js so it forces each
new process to take the current NODE_PATH env value in account - New: pm2.start() now handles json objects as param
- Added: timestamps to KM agent logs
- Fix: now properly closes all fds after logging has finished.
- New command: pm2 gc (manually triggers garbage collection for PM2)
- VersioningManagment: exec() timeout configurable via .json
- Fix #1143 :
If we start let's say 4 instances of an app (cluster_mode),
Each app will have a value in process.env.NODE_APP_INSTANCE which will be 0 for the first one,
1, 2 and 3 for the next ones. - Fix #1154 :
Negative arguments to '-i' are substracted to CPU cores number.
E.g: 'pm2 start app.js -i -3' in a 8 cpus environment will start 5 instances (8 - 3).