filter_pm2.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "apps": [
  3. {
  4. "name": "0_FILTER_FACTORY",
  5. "script": "./1_FILTER_FACTORY/FILTER_FACTORY0.js",
  6. "node_args": "--max-old-space-size=8192 --expose-gc",
  7. "max_memory_restart": "2G",
  8. "args": ["--type=data"],
  9. "cwd": "/home/tg_factory",
  10. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  11. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY0_error.log",
  12. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY0_out.log",
  13. "merge_logs": true,
  14. "exec_mode": "fork",
  15. "autorestart": true
  16. },
  17. {
  18. "name": "1_FILTER_FACTORY",
  19. "script": "./1_FILTER_FACTORY/FILTER_FACTORY1.js",
  20. "node_args": "--max-old-space-size=8192 --expose-gc",
  21. "max_memory_restart": "2G",
  22. "args": ["--type=data"],
  23. "cwd": "/home/tg_factory",
  24. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  25. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY1_error.log",
  26. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY1_out.log",
  27. "merge_logs": true,
  28. "exec_mode": "fork",
  29. "autorestart": true
  30. },
  31. {
  32. "name": "2_FILTER_FACTORY",
  33. "script": "./1_FILTER_FACTORY/FILTER_FACTORY2.js",
  34. "node_args": "--max-old-space-size=8192 --expose-gc",
  35. "max_memory_restart": "2G",
  36. "args": ["--type=data"],
  37. "cwd": "/home/tg_factory",
  38. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  39. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY2_error.log",
  40. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY2_out.log",
  41. "merge_logs": true,
  42. "exec_mode": "fork",
  43. "autorestart": true
  44. },
  45. {
  46. "name": "3_FILTER_FACTORY",
  47. "script": "./1_FILTER_FACTORY/FILTER_FACTORY3.js",
  48. "node_args": "--max-old-space-size=8192 --expose-gc",
  49. "max_memory_restart": "2G",
  50. "args": ["--type=data"],
  51. "cwd": "/home/tg_factory",
  52. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  53. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY3_error.log",
  54. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY3_out.log",
  55. "merge_logs": true,
  56. "exec_mode": "fork",
  57. "autorestart": true
  58. },
  59. {
  60. "name": "4_FILTER_FACTORY",
  61. "script": "./1_FILTER_FACTORY/FILTER_FACTORY4.js",
  62. "node_args": "--max-old-space-size=8192 --expose-gc",
  63. "max_memory_restart": "2G",
  64. "args": ["--type=data"],
  65. "cwd": "/home/tg_factory",
  66. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  67. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY4_error.log",
  68. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY4_out.log",
  69. "merge_logs": true,
  70. "exec_mode": "fork",
  71. "autorestart": true
  72. },
  73. {
  74. "name": "5_FILTER_FACTORY",
  75. "script": "./1_FILTER_FACTORY/FILTER_FACTORY5.js",
  76. "node_args": "--max-old-space-size=8192 --expose-gc",
  77. "max_memory_restart": "2G",
  78. "args": ["--type=data"],
  79. "cwd": "/home/tg_factory",
  80. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  81. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY5_error.log",
  82. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY5_out.log",
  83. "merge_logs": true,
  84. "exec_mode": "fork",
  85. "autorestart": true
  86. },
  87. {
  88. "name": "6_FILTER_FACTORY",
  89. "script": "./1_FILTER_FACTORY/FILTER_FACTORY6.js",
  90. "node_args": "--max-old-space-size=8192 --expose-gc",
  91. "max_memory_restart": "2G",
  92. "args": ["--type=data"],
  93. "cwd": "/home/tg_factory",
  94. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  95. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY6_error.log",
  96. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY6_out.log",
  97. "merge_logs": true,
  98. "exec_mode": "fork",
  99. "autorestart": true
  100. },
  101. {
  102. "name": "7_FILTER_FACTORY",
  103. "script": "./1_FILTER_FACTORY/FILTER_FACTORY7.js",
  104. "node_args": "--max-old-space-size=8192 --expose-gc",
  105. "max_memory_restart": "2G",
  106. "args": ["--type=data"],
  107. "cwd": "/home/tg_factory",
  108. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  109. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY7_error.log",
  110. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY7_out.log",
  111. "merge_logs": true,
  112. "exec_mode": "fork",
  113. "autorestart": true
  114. },
  115. {
  116. "name": "8_FILTER_FACTORY",
  117. "script": "./1_FILTER_FACTORY/FILTER_FACTORY8.js",
  118. "node_args": "--max-old-space-size=8192 --expose-gc",
  119. "max_memory_restart": "2G",
  120. "args": ["--type=data"],
  121. "cwd": "/home/tg_factory",
  122. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  123. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY8_error.log",
  124. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY8_out.log",
  125. "merge_logs": true,
  126. "exec_mode": "fork",
  127. "autorestart": true
  128. },
  129. {
  130. "name": "9_FILTER_FACTORY",
  131. "script": "./1_FILTER_FACTORY/FILTER_FACTORY9.js",
  132. "node_args": "--max-old-space-size=8192 --expose-gc",
  133. "max_memory_restart": "2G",
  134. "args": ["--type=data"],
  135. "cwd": "/home/tg_factory",
  136. "log_date_format": "YYYY-MM-DD HH:mm:ss",
  137. "error_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY9_error.log",
  138. "out_file": "./logs/FILTER_FACTORY/1_FILTER_FACTORY9_out.log",
  139. "merge_logs": true,
  140. "exec_mode": "fork",
  141. "autorestart": true
  142. }
  143. ]
  144. }