I have run RabbitMQ for years with 7GB of rams, but suddenly have memory issue always reach the high watermark. Then I upgrade it to 15GB of rams, but the memory seems always high (6GB)
and here's the breakdown
root@rmq-server:/etc/rabbitmq# rabbitmq-diagnostics memory_breakdown
Reporting memory breakdown on node rabbit@rmq-server...
allocated_unused: 3.8791 gb (46.25%)
other_proc: 2.1857 gb (26.06%)
binary: 1.7428 gb (20.78%)
mgmt_db: 0.205 gb (2.44%)
plugins: 0.1125 gb (1.34%)
other_system: 0.0625 gb (0.75%)
metrics: 0.0619 gb (0.74%)
queue_procs: 0.055 gb (0.66%)
code: 0.0412 gb (0.49%)
other_ets: 0.0225 gb (0.27%)
mnesia: 0.016 gb (0.19%)
atom: 0.0015 gb (0.02%)
msg_index: 0.0013 gb (0.02%)
quorum_ets: 0.0 gb (0.0%)
it seems that allocated_unused is very high, does it also calculate to a high watermark?
and here's the configuration
vm_memory_high_watermark.relative = 0.5