added nodejs memory leak workaround
This commit is contained in:
parent
e32bd456b7
commit
11bd9b5257
@ -4,3 +4,4 @@ LOG_FOLDER=logs
|
|||||||
LOGGER_FILENAME=tb-js-executor-%DATE%.log
|
LOGGER_FILENAME=tb-js-executor-%DATE%.log
|
||||||
DOCKER_MODE=true
|
DOCKER_MODE=true
|
||||||
SCRIPT_BODY_TRACE_FREQUENCY=1000
|
SCRIPT_BODY_TRACE_FREQUENCY=1000
|
||||||
|
NODE_OPTIONS="--max-old-space-size=200"
|
||||||
|
|||||||
@ -64,7 +64,7 @@ logger:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
use_sandbox: "true"
|
use_sandbox: "true"
|
||||||
memory_usage_trace_frequency: "10000"
|
memory_usage_trace_frequency: "1000"
|
||||||
script_body_trace_frequency: "10000"
|
script_body_trace_frequency: "10000"
|
||||||
stat_print_frequency: "10000"
|
stat_print_frequency: "10000"
|
||||||
max_active_scripts: "1000"
|
max_active_scripts: "1000"
|
||||||
|
|||||||
@ -27,4 +27,4 @@ source "${CONF_FOLDER}/${configfile}"
|
|||||||
cd ${pkg.installFolder}
|
cd ${pkg.installFolder}
|
||||||
|
|
||||||
# This will forward this PID 1 to the node.js and forward SIGTERM for graceful shutdown as well
|
# This will forward this PID 1 to the node.js and forward SIGTERM for graceful shutdown as well
|
||||||
exec node server.js
|
exec --no-compilation-cache node server.js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user