79 Commits

Author SHA1 Message Date
Unitech
3f251a2233 quick fix 2017-02-02 21:00:55 +01:00
Unitech
e731d930f6 #2541 fix setting node.js version and restart via configuration file 2017-02-02 18:44:34 +01:00
Unitech
91fc3d5cb2 (logs) send processed logs to PM2 bus 2017-02-02 15:41:01 +01:00
vmarchaud
613979da2f (tests) add test for json log feature #2663 2017-01-31 16:26:10 +01:00
vmarchaud
77ce1cd7ee (logs) refactor to allow to directly output json #2663 2017-01-30 18:26:32 +01:00
vmarchaud
1d19cf2269 (feature) wait for application ready event when asked 2016-10-26 18:53:05 +02:00
Unitech
e62c439caa (cron) #2395 harden cron external restart 2016-09-24 16:37:59 +02:00
Yoanatan Hengli
cdc7f7e581 When cron onTick message will send to God from the child_process and God will kill it with SIGINT 2016-09-22 14:34:00 +03:00
Unitech
6a2d52d400 upgrade fclone + add back v8-profiler + drop findByFullPath in Daemon + add CLU formating + test with development pm2-axon-rpc 2016-07-03 14:18:03 +02:00
Unitech
037e025b5c remove console.log on process restart in fork mode 2016-06-22 01:48:08 +02:00
Unitech
9947c321d7 start to parallelize test + no-daemon implemented + fix paths 2016-06-12 01:37:38 +02:00
Unitech
503b1bf5a3 adapt tests 2016-06-09 01:22:57 +02:00
Unitech
d1249ff45d progress 2016-06-08 19:21:37 +02:00
Arkotek
610d68f8d7 remove useless require 2016-05-27 04:37:45 +02:00
Unitech
20344a58f1 #2188 remove any possibility for Daemon to require Satan.js 2016-05-27 00:59:50 +02:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
436a2ff233 small code fixes 2016-03-22 14:19:47 +01:00
Unitech
56bf0b46c0 #1800 display node.js version when doing pm2 show <app_name> 2016-01-28 18:44:05 +01:00
Unitech
b9256cea26 slightly change prototype of .sendDataToProcessId 2015-12-08 19:29:28 +01:00
jshkurti
84f93edadb Merge branch 'development' into wrapped_fork 2015-06-30 12:21:27 +02:00
jshkurti
360d14c477 refactor pm2 logs : DONE 2015-06-10 17:23:25 +02:00
Unitech
4848e5c974 avoid safe stringification and JSON.parsing to deep copy and remove circular dependencies + centralize object cloning + reduce data in pm2 pipeline + avoid complex object attached to pm2_env #1326 #1314 2015-06-09 17:30:16 +02:00
Unitech
0da9ad00b3 unblock/release data pipeline #1326 #1314 2015-06-09 15:14:08 +02:00
jshkurti
1981ab049d wrapped fork_mode + various test 2015-04-29 19:25:59 +02:00
--global
5be0c52767 on max memory reached reload instead of restart 2015-04-22 16:53:14 -04:00
Unitech
e245d894a7 Destroy/end/close when reloading logs in fork mode 2015-04-14 23:46:09 -04:00
Unitech
9f11dd7720 Fix file descriptor leak.. 2015-04-14 23:13:16 -04:00
jshkurti
842b823672 fix #1111 : More verbosity on writeFileSync errors 2015-03-20 18:28:02 +01:00
jshkurti
dc010d7133 fix #1068 #1096 maybe 2015-03-17 18:16:55 +01:00
Edwin
40556d4195 Debug statement for logging path when spawning a child 2015-02-02 10:31:10 -05:00
Tjatse
fe34aac8dc fixed critical bug: process.env flattens all env-vars. 2014-12-23 10:59:46 +08:00
Unitech
f1e2b17ec4 tiny cluster refactor 2014-12-12 14:51:50 +01:00
Unitech
21306731e4 Move startLogging method into Utility.js to avoid memory overhead from Common.js 2014-11-21 12:04:43 +01:00
Tjatse
bf32318b2a 1. Make sure directories of logs and pods exist before logging. 2. Refactor: put startLogging into Common. 2014-11-21 11:22:35 +08:00
Unitech
6897118123 remove disconnect on log reload to continue interaction between procesess 2014-11-18 16:10:32 +01:00
Unitech
1b782e4a87 refactor 2014-11-18 15:30:09 +01:00
Tjatse
0f7f1a749b make sure stdio exist and graceful exit when reload/restart 2014-11-17 21:11:21 +08:00
Tjatse
bb54ac7a9d fix: when reload/restart is called, disconnect the previous at first. 2014-11-17 19:44:26 +08:00
Tjatse
50f69c0a53 Revert "fix: when reload/restart is called, disconnect the previous at first."
This reverts commit 7c27ff9331b905e63cd33b7f47158514e82fa38d.
2014-11-17 19:43:10 +08:00
Tjatse
7c27ff9331 fix: when reload/restart is called, disconnect the previous at first. 2014-11-17 19:34:28 +08:00
Tjatse
e90c18f486 Revert "fix: when reload/restart is called, listeners of stdio should be removed."
This reverts commit b94b659a1323eb7321642893f4f24f3bdbbb3301.
2014-11-17 19:17:51 +08:00
Tjatse
b94b659a13 fix: when reload/restart is called, listeners of stdio should be removed. 2014-11-17 19:09:38 +08:00
Tjatse
0c6c089f4f feature: merge std(out && err) 2014-11-17 17:17:49 +08:00
Chris Wiggins
c3b99784bf Move IPC channel to FD4. Fixes #659 2014-11-08 08:52:00 +10:00
tknew2
92df9cbaaf Polishing interface 2014-10-25 13:28:07 +02:00
tknew2
1fe1fdf8ca close logs 2014-10-15 13:39:30 +02:00
tknew2
cc77eeeb86 remove run-as-user options 2014-10-15 12:05:06 +02:00
tknew2
31f42430f2 #747 2014-10-15 12:01:45 +02:00
tknew2
f40710b0ab Interaction edits 2014-10-08 11:41:36 +02:00
Joni Shkurti
00f3c10272 refractored graceFulReload 2014-10-03 20:44:06 +02:00