54 Commits

Author SHA1 Message Date
Aymeric Lavit d'Hautefort
7520174e28 restart if module only 2016-11-30 16:48:58 +01:00
Aymeric Lavit d'Hautefort
1de79ce9ba (fix) module pid/mem monitoring 2016-11-28 16:14:20 +01:00
Unitech
f6be6f3dc6 #2492 drop legacy if statement in worker 2016-11-04 16:51:26 +01:00
vmarchaud
1d19cf2269 (feature) wait for application ready event when asked 2016-10-26 18:53:05 +02:00
Unitech
c05aa70a9c (pm2)(worker) display current memory usage when restarting on memory limit 2016-08-06 21:13:40 -07:00
Unitech
9cd16a1222 #709 #437 (feature) pm2 logs --json 2016-07-30 09:59:20 -07:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
8f6bc844c6 enhancement: move CLI related files to CLI / upgrade moment dependency / remove some unused require 2016-03-21 19:09:25 +01:00
Unitech
aac1919741 #2012 #1650 #1743 #1613: allow reconfiguration attrs/env on reload 2016-03-11 16:23:11 +01:00
Unitech
3469b5802b Options attrs updatable via CLI and JSON - small refactor for programmatic usage 2016-03-09 12:16:58 +01:00
Unitech
6c200be98f check values 2015-10-09 16:44:12 +02:00
Unitech
b44cc155a1 check both string and boolean 2015-10-09 16:19:39 +02:00
Dimitri Jorge
59f19cd440 Try to fix #1380, disable automatic garbage collection 2015-07-16 16:14:52 +02:00
Unitech
c460ff76b6 add back edge case 0 memory restart and adapt tests 2015-06-11 10:56:39 +02:00
Unitech
24b10bd5b1 comment edge case scenario behavior 2015-06-10 18:18:31 +02:00
jshkurti
30d03dc6d4 fixed ENOMEM crashing PM2 2015-06-05 17:50:30 +02:00
jshkurti
4fb08b655c GC is now called first when the worker runs to reduce ENOMEM errors 2015-06-05 15:22:55 +02:00
Joni Shkurti
ffa74fafdd max_memory_restart now performs a graceful reload 2015-05-17 19:02:42 +02:00
--global
bb6a778832 call reload instead of restart to gracefully restart processes 2015-04-22 17:26:01 -04:00
--global
5be0c52767 on max memory reached reload instead of restart 2015-04-22 16:53:14 -04:00
jshkurti
c394d36a0a +--no-vizion/+tests/+doc/+changelog 2015-04-16 20:15:29 +02:00
jshkurti
353589dcc2 +node.js tuning/+doc/+tests/added gc in worker 2015-04-14 20:53:21 +02:00
Unitech
62f0e1a98c remove useless console.error in case of starting an application without git repository 2015-03-05 00:33:33 -05:00
Unitech
96c4403f2b reset vizion_running on each restart + add error message in Worker.js 2015-03-04 21:18:15 -05:00
Joni Shkurti
628842b487 Now 0memory&online case restarts the app only if it is in cluster_mode 2015-02-18 16:12:58 +01:00
jshkurti
a1ea26f058 Replaced console.log() by debug() in worker 2015-02-16 17:19:23 +01:00
jshkurti
1627209ce5 Fixed pm2 desc cli-table bug 2015-02-16 15:53:22 +01:00
Unitech
36bf2c09e3 avoid to pass on pm2_env 2015-02-03 12:50:00 -05:00
jshkurti
9e4e246019 God.handleExit: more verbose 2015-01-29 15:59:40 +01:00
Gil Pedersen
0e8658e775 Never start a process that already has a PID 2015-01-13 14:02:08 +01:00
jshkurti
0e798b168d Fixed: multiple calls to vizion.parse() for the same process 2015-01-09 16:01:14 +01:00
jshkurti
f4d6a29fea little fix 2014-11-27 12:15:04 +01:00
Alexandre Strzelewicz
82465733dc Merge pull request #838 from Tjatse/development
Revisions for dev branch
2014-11-25 16:59:42 +01:00
jshkurti
f1f829c8b8 Now Worker:Refresh is only applied to ahead and unstaged flags 2014-11-25 15:03:28 +01:00
Tjatse
0c31dede26 1. Validate Commander options && JSON key-values and make options briefness and easy configuration. 2. Refactor start/restart 2014-11-24 14:44:20 +08:00
jshkurti
c2e3581cb5 Worker: restart process if using 0 memory and status equals ONLINE 2014-11-21 16:53:14 +01:00
jshkurti
29fc72b3e8 re-refactor worker 2014-11-18 18:14:34 +01:00
jshkurti
70f6a3b868 worker refactored fix fix 2014-11-18 16:57:10 +01:00
jshkurti
9f73b9639c worker refactored 2014-11-18 15:41:20 +01:00
jshkurti
3865b242cb fix 2014-11-17 19:01:44 +01:00
jshkurti
e3fa143075 --max-memory-restart implemented 2014-11-17 17:47:52 +01:00
jshkurti
a68edc4208 workers tests are now more explicite 2014-11-17 11:23:28 +01:00
Unitech
df11ff64d5 only display id in debug 2014-11-16 14:40:29 +01:00
Unitech
2ff51d673b refactor worker 2014-11-16 13:20:14 +01:00
jshkurti
340e5c4256 Reinforced Worker for concurrencial access issues detection 2014-11-14 15:36:55 +01:00
jshkurti
e4f7f49281 fix 2014-11-12 12:32:06 +01:00
jshkurti
061f2a7ab2 tests fixed 2014-11-12 12:26:25 +01:00
jshkurti
6e989bc05e travis ftw 2014-11-10 18:28:45 +01:00
jshkurti
a94b2bdee5 travis tests 2014-11-10 18:11:48 +01:00
jshkurti
d2f061553c tests: fix 2014-11-10 16:50:52 +01:00