diff options
| author | Michael Klishin <michael@novemberain.com> | 2016-11-29 15:29:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-29 15:29:57 +0300 |
| commit | b907d34689879da7e9f2f4991d61e344a48cce30 (patch) | |
| tree | be201bd9e72908cb83dce452a8a450fc62209560 /docs | |
| parent | b2141bde48add4f3281e5667c8d7835dbd62601a (diff) | |
| parent | a31bb2e166229230b91a88ce206dae046d2c158c (diff) | |
| download | rabbitmq-server-git-b907d34689879da7e9f2f4991d61e344a48cce30.tar.gz | |
Merge pull request #1042 from rabbitmq/rabbitmq-server-1040
Add background GC settings to new config format
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} ]}, |
