pm2是一个带有负载均衡功能的 Node 应用的进程管理器
pm2是一个带有负载均衡功能的 Node 应用的进程管理器。当你要把你的独立代码利用全部的服务器上的所有CPU,并保证进程永远都活着,0秒的重载, PM2是完美的。它非常适合IaaS结构,但不要把它用于PaaS方案(随后将开发Paas的解决方案)。
Assets
2
fix windows issue when spawning PM2 daemon
Assets
2
3.2.5 (09/01/19)
- feat: enhance pm2 report
- feat: support snap Ubuntu system
- fix: pm2 register/monitor command
- fix: consolidate spawn function on unhealthy systems to avoid pm2 crash
- fix: error message if extra lang interpreter are not installed when runing tests
- fix: (pm2 deploy) command line bug when passing env variables to post-deploy hook
- fix: (pm2 deploy) always deploy to default branch problem
- fix: (pm2 deploy) pm2 deploy exec now accept multiple commands
- fix: print full env + skip extra internal fields when using programmatic pm2
Assets
2
3.2.4 (19/12/18)
Feat
- display cron configuration when doing
pm2 desc <id>
- refactor test suite (benchmark/simplification)
Fix
- pm2 flush flush only one app
- resolve uid properly on pm2 ls / pm2 desc
- keep wait_ready option on process reload
- keep stringification of environment variable behavior
- return an error when using pm2 api on starting json configuration if one app is errored
Assets
2
version: pm2@3.0.3
3.0.0 Cobra
Unitech released this
3.0.0 ( Wed Jun 20 2018 11:06:21 GMT+0200 (CEST) )
Breaking changes
- merge_logs is now activated by default if not in cluster mode. Logs will not be suffixed by the pm_id if only one app is started
(ae02adf6) - Drop support for node 0.12
- Drop gracefulReload command
- Remove Interactor from PM2 source code
- Replace pmx with pm2-io-apm
Bug Fixes
- return the configuration and allow custom conf to override default values
(37dc7de1) - add use strict for node 4 compatibility
(ba2ee3b1) - #3605 fix parameters definition, don't use camelcase for properties
(c8616276) - #3695 change version check method in order to make it work with alpha/beta versions
(052d6c55) - deprecated warning on isbinaryfile
(db09275f) - #3688 test adaptation + pm2 serve --port option
(f0249684) - startup script issue 18.04 #3645
(ff1a7f31) - that this - uncache node_modules
(294038d7) - verify default conf variable via package.json on public module
(157b106d) - bug because of const
(56f05a90) - do not run two pm2 para cmds
(3274132b) - version
(3ec178e5) - re-enable agent tests
(e6febcd7) - test/display summary
(b075e6d0) - skip interactor tests
(36c4d6bc) - remove unused tests
(234c6314) - add missing libraries in travis
(88fbb845) - remove unused variable when trying to use tracing
(3aeeba02) - remove useless tests from .sh
(e0be81c8) - conflict
(e13f39c9) - fix bug with interpreter args
(b26efa0d) - improve error message if action has failed
(d9f44f17) - use polyfill module for copySync with node 4.x
(bc07f43b) - improve error message if action has failed
(dacc6542) - solve empty list when no process and try to update pm2
(89511846) - #3485 fix issue when there is empty dump file
(f2523f6a) - #3456 use homedir() instead of process.env.HOME, make module installation work on windows
(1e001732)
Features
-
add support for openbsd rc.d init scripts
(fdeb0c32) -
add kill_retry_time argument
(b2cc0031) -
bin/pm2
- improve usage
(2c310084)
- improve usage
Refactor
- use @pm2/js-api for login/register on pm2.io via CLI
(cb6521ac) - keymetrics examples
(109b331d) - faster cli with less require
(ee5e6a06) - replace fs-extra with node calls
(4576b4c9) - centralize SECRET/PUBLIC/MACHINE_NAME + change some wordings
(d0a2a30e) - remove test deported to keymetrics-agent
(299a52a2) - parallel test v1
(08612de5) - e2e test rewrite
(2b9ffd4e) - drop gracefullreload
(bb57c76d) - add node 4.x support
(d322dd00) - create alias method instead of modify prototype
(6d8f0dfa) - change safety var to const
(047aa494) - drop some 0.x patch
(0cab8880) - remove prototype from API and create method
(9552bd61) - transform API into class
(e3831f95) - name tests well
(c3ccc651) - refactor e2e one line parallel
(93802711) - e2e rename
(8a7db95a) - change params
(282186f2) - parallelize bash test
(d4b4375e)
Test
- adapt test to new api
(7a275e27) - refactor before/after
(b85ca3ca) - 3 concurrent jobs
(472aba34) - move test
(9c973324) - move test
(952b7631) - fix test with km_link
(23fd8ecf)
Chore
- shorten ecosystem file
(992a0452) - change motd wording
(aa183ba1) - merge master in development
(0e4453d9) - keymetrics -> pm2
(2c8170c2) - upgrade all modules + keymetrics-agent -> pm2/agent + increase version enabling v8-compile-cache
(53ca18c1) - pm2.io -> @pm2/io
(ae098962) - right names as pm2 maintainers
(e8cd7131) - add changelog generation into contributing.md
(d77bfbc3) - cache node_modules
(81627e94) - clone last 5 commits
(dad38ed1) - delete old stagnating pmx inside test
(36834c2c) - pmx -> pm2.io
(adcbebc3) - updgrade pmx-2
(eeeb2988) - disable legacy test
(13723bd9) - remove test for pmx alert system
(c43414a6) - sync from master
(3424ee27) - add unique id for each process
(85a5ee0f) - use npm install for CI as yarn has issue with npm
(52902186) - remove unused dependency
(830fc15f) - upgrade PM2 to 3.0
(4bc2eb4c) - remove unused console.log
(33db5084) - wording on error message
(c251c8c9) - revert PR #3496
(aae1d55e) - fix issue with snapshot command + remove command forceGc
(97fd1010) - wording on error message
(5f78ecbf) - drop 0.12 test on travis
(beb6e487) - downgrade promptly
(074a7a40) - remove coffee and livescript dependencies
(13d6565c) - upgrade module version and engine version
(84796956)
Branchs merged
- Merge branch 'development' into chore/dev-cache-node-modules
(146c4e11) - Merge branch 'development' of https://github.com/Unitech/pm2 into new-agent
(3514e7fa) - Merge branch 'development' into master
(f5668331) - Merge branch 'development' into new-usage-cli
(4ae27694) - Merge branch 'Eywek-improv/agent' into new-agent
(3e259dd1) - Merge branch 'ecosystem-documentation' of github.com:rmonnier/pm2 into ecosystem-documentation
(98348955) - Merge branch 'development' into ecosystem-documentation
(40157784) - Merge branch 'inspect_mode' of github.com:Unitech/pm2 into inspect_mode
(7e1494c7) - Merge branch 'development' of github.com:Unitech/pm2 into development
(48f81a8b) - Merge branch 'development' into master
(47e54109) - Merge branch 'development' into module_install_windows
(7b82fb91) - Merge branch 'development' into module_install_windows
(80b0495f)
Pull requests merged
- Merge pull request #3726 from soyuka/fix-list
(0255c5a6) - Merge pull request #3725 from soyuka/fix-list
(a39eb4f8) - Merge pull request #3718 from AaronM04/openbsd-init-script
(85458261) - Merge pull request #3721 from Unitech/io_conf
(70ec1f81) - Merge pull request #3716 from Unitech/io_conf
(0bc000b9) - Merge pull request #3714 from Unitech/definition
(d8cff0de) - Merge pull request #3700 from Unitech/report_error
(4b2cad40) - Merge pull request #3670 from Unitech/changelog
(4bcbcce1) - Merge pull request #3662 from DanielRuf/chore/dev-cache-node-modules
(540590ee) - Merge pull request #3663 from DanielRuf/chore/dev-clone-last-5-commits
(bdf95fc9) - Merge pull request #3584 from ngtmuzi/development
(33984b64) - Merge pull request #3500 from Unitech/test-parallel
(da56c7af) - Merge pull request #3539 from KimSeongIl/master
(1325704d) - Merge pull request #3556 from N-Nagorny/logs-smart-app-name-cutting
(bfddf4fd) - Merge pull request #3553 from Unitech/fix_tracing_not_working
(9d51fe08) - Merge pull request #3549 from Eywek/new-agent
(2f04027b) - Merge pull request #3548 from rmonnier/start-ecosystem-default
(55412f26) - Merge pull request #3546 from soyuka/improve-monitor-perf
(e4e29233) - Merge pull request #3534 from rmonnier/new-usage-cli
(5dfba8a4) - Merge pull request #3542 from rmonnier/default-start-ecosystem
(c65595f4) - Merge pull request #3545 from rmonnier/default-ecosystem
(b3718656) - Merge pull request #3543 from rmonnier/ecosystem-documentation
(a60580a1) - Merge pull request #3541 from soyuka/development
(67e7a015) - Merge pull request #3511 from Unitech/inspect_mode
(75fb87f8) - Merge pull request #3517 from Unitech/polyfill_fs_copy_node4
(524f5494) - Merge pull request #3516 from Unitech/drop_unused_feature
(9436f11a) - Merge pull request #3510 from Unitech/dump_refacto
(674e4469) - Merge pull request #3501 from Unitech/refactor_api
(9f2c4ca4) - Merge pull request #3496 from rmonnier/master
(829cc303) - Merge pull request #3484 from Unitech/pull_by_name
(24d29404) - Merge pull request #3482 from Unitech/mjs_support
(ebe7b048) - Merge pull request #3495 from Unitech/module_install_windows
(e9c625d3) - Merge pull request #3507 from cheapsteak/patch-1
(a49287d6)
- upgrades for node 10
chore: update version to 2.10.2
chore: update changelog
Bug Fixes
- add livescript in default modules
(a315eeb6) - replace dash with underscore
(203df768) - make sure not pm2 is running
(bd798fd7) - auto-exit edge case fix + pm2 no daemon mode + log in raw by default + less logs
(704ae518) - impact v8 flag in fork mode also
(41bf6ef7) - fixup! #2182 Get rid of annoying popups in Windows 10
(3a85b59d)
Hot Fixes
Features
-
add dependencies section into ecosystem.json file.
(828a30d0) -
--deep-monitoring available from pm2-runtime
(99e62e3b) -
add deep_metrics to deep_monitoring flag
(4d1bea5e) -
add flag to enable deep-monitoring
(c5418688) -
allow pm2 to install a set of module as one single command and add deep-monitoring.
(9dddc80d) -
pm2 pid <app_name> command
(6687d499) -
allow pm2 to install and enable event-loop-inspector data collecting
(e6b0c474) -
ignore signal when running in --no-daemon
(b9c01c99) -
upgrade pmx to git development branch
(21be05a0) -
allow pm2 to enable v8 data collecting from pmx
(aa180fa8) -
allow pm2 to install gc-stats
(15634168) -
feat add changelog generation support
(14f53fc0) -
pm2
Documentation
- add documentation on new pm2 install command
(c90c453f) - add sendDataToProcessId into typescript definitions
(4a2e8d2d)
Refactor
- delete all "if" condition when installing new module, create an object with all modules and a generic installation process
(1b92a9c4) - deep pm2-runtime refactor #3408 #3257 #3266
(c13b2364) - no more interactive spinner for connection to KM + change pm2 log format + remove some logs
(d1916f40)
Chore
- pmx to 1.6.3-rc2
(41815e0b) - switch pmx to development
(748019d1) - 2.10.0-beta
(0d2b7172) - upgrade pmx to 1.6.3-next
(5a1b4343) - upgrade pmx dep
(4bbeec3d) - switch to published pmx(@next)
(859d18fb) - remove --exit from mocha.opts
(36bf03e1) - remove unused files
(65d233e5)
Branchs merged
- Merge branch 'development' of ssh://github.com/deltasource/pm2 into hotfix/scoped-package-support
(94ea9d9e) - Merge branch 'master' into development
(46606903) - Merge branch 'development' of github.com:Unitech/pm2 into v8_option
(757562f7) - Merge branch 'development' of github.com:Unitech/pm2 into gc-stats
(3ed1a747) - Merge branch 'master' into development
(ee7651e4)
Pull requests merged
- Merge pull request #3466 from natcl/development
(c6d7ace8) - Merge pull request #3464 from andyfleming/patch-1
(dd9ebb60) - Merge pull request #3459 from rmonnier/master
(46948a98) - Merge pull request #3458 from Unitech/pm2_install_command
(f3b35726) - Merge pull request #3453 from deltasource/hotfix/scoped-package-support
(974f9bf0) - Merge pull request #3448 from Unitech/deep_monitoring_flag
(331bc741) - Merge pull request #3447 from Unitech/deep-monitoring
(719d328e) - Merge pull request #3443 from Unitech/event-loop-inspector
(77a35274) - Merge pull request #3442 from Unitech/event-loop-inspector
(dad98e6e) - Merge pull request #3424 from Unitech/sendDataToProcessId_def
(95e85eef) - Merge pull request #3438 from Unitech/v8_option
(e46b15dc) - Merge pull request #3437 from Unitech/gc-stats
(1a6771aa) - Merge pull request #3400 from toddwong/windowsHide2
(f65e8794) - Merge pull request #3421 from Unitech/generate_changelog
(b0690618) - Merge pull request #3419 from Rohja/fix-build-number-deb-rpm
(b4343de2)
- #3364 30% faster CLI
- add process._getActiveRequests() and process._getActiveHandles() custom metrics
- #3402 #3360 fix bad username
- #3413 check dependencies before launching tests
- #3295 add sorting feature for process list (pm2 ls --sort <field_name:order>)
- #3404 if no gid specified - set gid to uid
- #3287 add typing for env
- #3374 separate stdout and stderr for pm2-docker/pm2-runtime
- #3366 improve building of rpm and deb packages
- #3375 sendLineToStdin/sendDataToProcessId fix
- #3365 fix report command for windows
- #3367 Display an error if the process is not found when running 'pm2 logs '
- #3256 TypeError: Cannot read property 'destroy' of undefined
- User: append SUDO_USER if no uid has been set and SUDO_USER present
- User: check permission of agent
- KM: send outliers
- KM: infinite retry for km connection
Watchers:691 |
Star:28122 |
Fork:1937 |
创建时间: 2013-05-21 11:25:25 |
最后Commits: 前天 |
26f92ea