diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2016-11-29 15:28:39 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2016-11-29 15:28:39 +0300 |
| commit | a31bb2e166229230b91a88ce206dae046d2c158c (patch) | |
| tree | be201bd9e72908cb83dce452a8a450fc62209560 /docs | |
| parent | 51b40693444d93d0fa18b764046fe6c7bd411ccb (diff) | |
| download | rabbitmq-server-git-a31bb2e166229230b91a88ce206dae046d2c158c.tar.gz | |
Be more elaborate in background GC config example
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmq.conf.example | 13 | ||||
| -rw-r--r-- | docs/rabbitmq.config.example | 11 |
2 files changed, 19 insertions, 5 deletions
diff --git a/docs/rabbitmq.conf.example b/docs/rabbitmq.conf.example index 33b69265ef..96d0967db7 100644 --- a/docs/rabbitmq.conf.example +++ b/docs/rabbitmq.conf.example @@ -380,11 +380,18 @@ ## # queue_index_embed_msgs_below = 4kb -## Whether or not to enable background GC. +## 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 -## Interval (in milliseconds) at which we run background GC. +## 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 @@ -623,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 5feb2430e9..aaffcab2d8 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -333,11 +333,18 @@ %% %% {queue_index_embed_msgs_below, 4096}, - %% Whether or not to enable background GC. + %% 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}, %% - %% Interval (in milliseconds) at which we run background GC. + %% 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} |
