Remove memory_monitor_interval

This commit is contained in:
Michal Kuratczyk 2024-08-27 17:35:22 +02:00
parent 116ab4f6fe
commit fa221d8eca
No known key found for this signature in database
5 changed files with 4 additions and 7 deletions

View File

@ -36,7 +36,6 @@ _APP_ENV = """[
{ssl_options, []},
{vm_memory_high_watermark, 0.4},
{vm_memory_calculation_strategy, rss},
{memory_monitor_interval, 2500},
{disk_free_limit, 50000000}, %% 50MB
{backing_queue_module, rabbit_variable_queue},
%% 0 ("no limit") would make a better default, but that

View File

@ -16,7 +16,6 @@ define PROJECT_ENV
{ssl_options, []},
{vm_memory_high_watermark, 0.4},
{vm_memory_calculation_strategy, rss},
{memory_monitor_interval, 2500},
{disk_free_limit, 50000000}, %% 50MB
{backing_queue_module, rabbit_variable_queue},
%% 0 ("no limit") would make a better default, but that

View File

@ -409,11 +409,6 @@
## See https://github.com/rabbitmq/rabbitmq-server/issues/1223 and rabbitmq/rabbitmq-common#224 for background.
# vm_memory_calculation_strategy = rss
## Interval (in milliseconds) at which we perform the check of the memory
## levels against the watermarks.
##
# memory_monitor_interval = 2500
## The total memory available can be calculated from the OS resources
## - default option - or provided as a configuration parameter.
# total_memory_available_override_value = 2GB

View File

@ -1162,6 +1162,8 @@ end}.
"rabbit.vm_memory_high_watermark_paging_ratio",
[{datatype, float}, {validators, ["less_than_1"]}]}.
%% DEPRECATED. Not used since RabbitMQ 4.0
%%
%% Interval (in milliseconds) at which we perform the check of the memory
%% levels against the watermarks.
%%

View File

@ -372,6 +372,7 @@ tcp_listen_options.exit_on_close = false",
vm_memory_high_watermark.relative = 0.4",
[{rabbit,[{vm_memory_high_watermark,{absolute,1073741824}}]}],
[]},
%% DEPRECATED; just for backwards compatibility
{vm_memory_watermark_paging_ratio,
"vm_memory_high_watermark_paging_ratio = 0.75
vm_memory_high_watermark.relative = 0.4",
@ -379,6 +380,7 @@ tcp_listen_options.exit_on_close = false",
[{vm_memory_high_watermark_paging_ratio,0.75},
{vm_memory_high_watermark,0.4}]}],
[]},
%% DEPRECATED; just for backwards compatibility
{memory_monitor_interval, "memory_monitor_interval = 5000",
[{rabbit,
[{memory_monitor_interval, 5000}]}],