83 Commits

Author SHA1 Message Date
tknew2
6ca006ef42 add watchdog 2014-05-13 14:56:01 +02:00
soyuka
d664d7ecda Added check on cpus object existing before reading it's length 2014-05-12 06:23:45 +02:00
tknew2
a6ccbc93d5 new pm2-usage module w/o native bindings 2014-05-09 14:38:19 +02:00
tknew2
8b284a1896 interact edition 2014-05-05 17:22:57 +02:00
soyuka
a8ee76312e Satan is calling God watch methods when --watch argument is called
Added God watch methods and actionsMethods
Added Watcher to store watch instances to close/start them - could be improved to add/ignore specific files #368
2014-04-12 15:39:58 +02:00
tknew2
7933cb92cb small refactor - add merge-logs option 2014-04-11 18:22:36 +08:00
tknew2
0a2a80662f all unexpected messages are logged to pm2.log 2014-04-09 16:58:54 +08:00
tknew2
c185b587e7 call watch method only one time - move watch option to be displayed by commander - change a bit the test logic - upgrade watch to 0.9.0 2014-04-04 12:26:07 +08:00
soyuka
46f8ff8c91 Added watch method to God 2014-04-02 08:45:57 +02:00
tknew2
74b4bd83d5 force stop and add stopping state to process 2014-02-13 13:55:50 +01:00
tknew2
96eb51fde0 fixes 2014-02-02 15:53:12 +01:00
tknew2
750a47ace0 refactor code - explose God.js - graceful reload feature - update README - more tests 2014-01-14 19:30:36 +01:00
tknew2
71ddb91acd double check deletion of worker in cluster array 2014-01-14 03:22:26 +01:00
tknew2
b00bdec37e clear timeout 2014-01-14 02:37:25 +01:00
tknew2
35b6ab489b remove timeouts instead check process by interval - god test refactored - kill processes refactored - async ops passed to one 2014-01-14 02:29:46 +01:00
tknew2
dc26b3540b resetState on reload or restart 2014-01-13 20:56:20 +01:00
tknew2
ed604bb15f merging #251 - refactor restart process by name - reset date on restart 2014-01-13 16:58:27 +01:00
tknew2
7e8e402b1e better regex with replacement with pm_id 2014-01-11 16:41:12 +01:00
tknew2
d05fadfc45 set timeout to kill process if reload an non networked app + dont duplicate log if already formated 2014-01-11 15:49:52 +01:00
tknew2
9ab142d51b if process dead dont disconnect 2014-01-11 13:05:51 +01:00
tknew2
5d9af1de44 disconnect cluster on exit 2014-01-11 12:34:14 +01:00
tknew2
e8b992c6df disconnect worker if not already done - clean kill 2014-01-11 12:22:21 +01:00
tknew2
79ed1bd992 reload stuff 2014-01-10 23:50:26 +01:00
tknew2
33c90fd431 fix display - disconnect worker on stop 2014-01-10 23:30:40 +01:00
tknew2
5634bbe944 async instead of recursive function - enhance speed with parallelization - God.js code refactored - hardened reload 2014-01-10 22:54:37 +01:00
tknew2
b9a76e2ff6 wait a bit more when restart 2014-01-10 19:52:18 +01:00
tknew2
47ae53e3ff Reload feature enhanced with lot of feedback 2014-01-10 19:13:37 +01:00
tknew2
c867f85fc2 add ping method 2014-01-10 18:04:03 +01:00
tknew2
f0ad26afff #124 #168 logs are now separated by default 2014-01-10 17:40:26 +01:00
tknew2
d1dcdec71e #180 delete pid once process exit 2014-01-10 16:52:53 +01:00
tknew2
774237d25f enhance reload 2014-01-10 16:08:36 +01:00
tknew2
a484dc2224 reload by process name + json env tests + reload tests 2014-01-08 17:55:20 +01:00
tknew2
1f6fe92341 #125 2014-01-08 16:12:57 +01:00
Ben Postlethwaite
3d67e50fca more consistent external bus msg routing 2013-12-22 21:54:06 -05:00
Ben Postlethwaite
6630b1536c add pm2_id to external msgs to link msg to sending process 2013-12-22 13:30:58 -05:00
Alexandre Strzelewicz
e467141e15 Merge pull request #214 from bpostlethwaite/master
add God method for sending message to process
2013-12-22 08:42:14 -08:00
Alexandre Strzelewicz
71842b106e Merge pull request #199 from fredericosilva/patch-1
emit process:exception with the full err
2013-12-22 08:38:11 -08:00
tknew2
0fe158737c log emit notifications 2013-12-22 17:37:13 +01:00
tknew2
4e64e9dad9 longer wait for reload 2013-12-20 01:19:25 +01:00
Ben Postlethwaite
ba89604b86 add God method for sending message to process 2013-12-10 14:23:26 -05:00
tknew2
0485c3f3a6 fix bug when reload 2013-12-04 20:35:19 +01:00
Frederico Silva
7694483b92 keep backward compatibility 2013-12-03 13:09:47 +01:00
Frederico Silva
43c312fc40 emit uncaughtException with the full err 2013-11-27 17:10:51 +01:00
tknew2
d6ee883889 psh 2013-11-27 11:41:51 +01:00
tknew2
10d39704ec #136 add smart interpreter selection and execution mode depending on filename extension 2013-11-22 13:27:40 +01:00
tknew2
3a78dad99a merge fix pr #181 2013-11-22 13:00:26 +01:00
Bret Copeland
795f87d07b Fixed error messages in prepareJson. 2013-11-21 16:43:26 -05:00
Bret Copeland
d0b21898ea Added optional cwd parameter to prepareJson. 2013-11-20 19:35:50 -05:00
Bret Copeland
2d6cd77e99 Added God.prepareJson method and refactored common utilities. 2013-11-20 18:09:59 -05:00
achingbrain
2ed111fa5e adds system data call to return load, cpus, etc along with process information 2013-11-20 16:40:18 +00:00