Tune the 'force_gc_policy' and 'force_shutdown_policy' parameters (#3201)

This commit is contained in:
Feng Lee 2020-01-17 16:59:36 +08:00 committed by JianBo He
parent 7a2234c608
commit 050a3feab2
1 changed files with 4 additions and 4 deletions

View File

@ -605,7 +605,7 @@ zone.external.acl_deny_action = ignore
## messages | bytes passed through. ## messages | bytes passed through.
## ##
## Numbers delimited by `|'. Zero or negative is to disable. ## 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 ## Max message queue length and total heap size to force shutdown
## connection/session process. ## connection/session process.
@ -617,7 +617,7 @@ zone.external.force_gc_policy = 10000|10MB
## Default: ## Default:
## - 10000|32MB on ARCH_64 system ## - 10000|32MB on ARCH_64 system
## - 10000|16MB on ARCH_32 sytem ## - 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. ## Maximum MQTT packet size allowed.
## ##
@ -793,7 +793,7 @@ zone.internal.enable_acl = off
zone.internal.acl_deny_action = ignore zone.internal.acl_deny_action = ignore
## See zone.$name.force_gc_policy ## 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. ## See zone.$name.wildcard_subscription.
## ##
@ -840,7 +840,7 @@ zone.internal.enable_flapping_detect = off
## Default: ## Default:
## - 10000|32MB on ARCH_64 system ## - 10000|32MB on ARCH_64 system
## - 10000|16MB on ARCH_32 sytem ## - 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. ## All the topics will be prefixed with the mountpoint path if this option is enabled.
## ##