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/rabbitmq.config.example | |
| 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/rabbitmq.config.example')
| -rw-r--r-- | docs/rabbitmq.config.example | 17 |
1 files changed, 16 insertions, 1 deletions
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} ]}, |
