diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmq.conf.example | 17 | ||||
| -rw-r--r-- | docs/rabbitmq.config.example | 17 |
2 files changed, 32 insertions, 2 deletions
diff --git a/docs/rabbitmq.conf.example b/docs/rabbitmq.conf.example index 33685191a3..96d0967db7 100644 --- a/docs/rabbitmq.conf.example +++ b/docs/rabbitmq.conf.example @@ -380,6 +380,21 @@ ## # queue_index_embed_msgs_below = 4kb +## Whether or not to enable background periodic GC of all +## Erlang processes in "waiting" state. +## +## Disabling background GC may reduce latency for client operations, +## keeping it enabled may reduce median RAM usage. +## +# background_gc_enabled = true + +## Target (desired) interval (in milliseconds) at which we run background GC. +## The actual interval will vary depending on how long it takes to execute +## the operation (can be higher than this interval). Values less than +## 30000 milliseconds are not recommended. +## +# background_gc_target_interval = 60000 + ## ---------------------------------------------------------------------------- ## Advanced Erlang Networking/Clustering Options. ## @@ -615,7 +630,7 @@ ## File rotation config. No rotation by defualt. ## DO NOT SET rotation date to ''. Leave unset if require "" value -# log.file.rotation.date = $D0 +# log.file.rotation.date = $D0 # log.file.rotation.size = 0 diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index 3e1137aa8b..aaffcab2d8 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -331,7 +331,22 @@ %% Size in bytes below which to embed messages in the queue index. See %% http://www.rabbitmq.com/persistence-conf.html %% - %% {queue_index_embed_msgs_below, 4096} + %% {queue_index_embed_msgs_below, 4096}, + + %% Whether or not to enable background periodic GC of all + %% Erlang processes in "waiting" state. + %% + %% Disabling background GC may reduce latency for client operations, + %% keeping it enabled may reduce median RAM usage. + %% + %% {background_gc_enabled, true}, + %% + %% Target (desired) interval (in milliseconds) at which we run background GC. + %% The actual interval will vary depending on how long it takes to execute + %% the operation (can be higher than this interval). Values less than + %% 30000 milliseconds are not recommended. + %% + %% {background_gc_target_interval, 60000} ]}, |
