From cbaddc4120bcf05ddc1cbd0eafe5cf15bc208066 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Fri, 17 Jan 2020 17:57:08 +0800 Subject: [PATCH] Increase shutdown_time of vm.args --- etc/emqx.conf | 8 -------- etc/vm.args | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index 0a552e77d..d5490d954 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -614,10 +614,6 @@ zone.external.force_gc_policy = 16000|16MB ## of queued MQTT messages of QoS 1 and 2. ## ## Numbers delimited by `|'. Zero or negative is to disable. -## -## Default: -## - 10000|32MB on ARCH_64 system -## - 10000|16MB on ARCH_32 sytem ## zone.external.force_shutdown_policy = 32000|32MB ## Maximum MQTT packet size allowed. @@ -837,10 +833,6 @@ zone.internal.mqueue_store_qos0 = true zone.internal.enable_flapping_detect = off ## See zone.$name.force_shutdown_policy -## -## Default: -## - 10000|32MB on ARCH_64 system -## - 10000|16MB on ARCH_32 sytem ## zone.internal.force_shutdown_policy = 128000|128MB ## All the topics will be prefixed with the mountpoint path if this option is enabled. diff --git a/etc/vm.args b/etc/vm.args index 435f443cb..d18d2f20d 100644 --- a/etc/vm.args +++ b/etc/vm.args @@ -112,4 +112,4 @@ ## Specifies how long time (in milliseconds) to spend shutting down the system. ## See: http://erlang.org/doc/man/erl.html -#-shutdown_time 15000 +-shutdown_time 30000