summaryrefslogtreecommitdiff
path: root/ebin
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-06-18 12:29:30 +0100
committerSimon MacMullen <simon@rabbitmq.com>2013-06-18 12:29:30 +0100
commit413dd11bda0b1c06f3577f555094859777fe016e (patch)
treea08316b999caa69ab8793cfc98fce5d0483d063a /ebin
parentb47d8173ca58fb4939edbdd35ab51e2ae347eb85 (diff)
downloadrabbitmq-server-git-413dd11bda0b1c06f3577f555094859777fe016e.tar.gz
Eliminate ?MEMORY_LIMIT_SCALING and make the ratio at which we page configurable. Note that I have changed the representation from a ratio-of-a-ratio to just a plain ratio (i.e. propertion of total memory, not proportion of the high watermark). I believe this will be easier to understand. Hence also the name vm_memory_paging_watermark, chosen by analogy with vm_memory_high_watermark.
Diffstat (limited to 'ebin')
-rw-r--r--ebin/rabbit_app.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in
index 339fa69eae..b28214aff0 100644
--- a/ebin/rabbit_app.in
+++ b/ebin/rabbit_app.in
@@ -19,6 +19,7 @@
{ssl_listeners, []},
{ssl_options, []},
{vm_memory_high_watermark, 0.4},
+ {vm_memory_paging_watermark, 0.2},
{disk_free_limit, 1000000000}, %% 1GB
{msg_store_index_module, rabbit_msg_store_ets_index},
{backing_queue_module, rabbit_variable_queue},