From 050a3feab23ff8ab308c2f16e7194e39ff21f681 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Fri, 17 Jan 2020 16:59:36 +0800 Subject: [PATCH] Tune the 'force_gc_policy' and 'force_shutdown_policy' parameters (#3201) --- etc/emqx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index 4c8195b1a..1e5136228 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -605,7 +605,7 @@ zone.external.acl_deny_action = ignore ## messages | bytes passed through. ## ## Numbers delimited by `|'. Zero or negative is to disable. -zone.external.force_gc_policy = 10000|10MB +zone.external.force_gc_policy = 16000|16MB ## Max message queue length and total heap size to force shutdown ## connection/session process. @@ -617,7 +617,7 @@ zone.external.force_gc_policy = 10000|10MB ## Default: ## - 10000|32MB on ARCH_64 system ## - 10000|16MB on ARCH_32 sytem -## zone.external.force_shutdown_policy = 10000|32MB +## zone.external.force_shutdown_policy = 32000|32MB ## Maximum MQTT packet size allowed. ## @@ -793,7 +793,7 @@ zone.internal.enable_acl = off zone.internal.acl_deny_action = ignore ## See zone.$name.force_gc_policy -## zone.internal.force_gc_policy = 100000|100MB +## zone.internal.force_gc_policy = 128000|128MB ## See zone.$name.wildcard_subscription. ## @@ -840,7 +840,7 @@ zone.internal.enable_flapping_detect = off ## Default: ## - 10000|32MB on ARCH_64 system ## - 10000|16MB on ARCH_32 sytem -## zone.internal.force_shutdown_policy = 100000|64MB +## zone.internal.force_shutdown_policy = 128000|128MB ## All the topics will be prefixed with the mountpoint path if this option is enabled. ##