I have a case where the total memory used by RabbitMQ is 6.2 GB, and 6.1 GB of which are utilized by Erlang writers. However, I can not find this size paged anywhere on the hard disk. what happens if RabbitMQ crashes? will I lose all data?
Please check the below rabbitmqctl status
{memory,
[{total,6692084888},
{connection_readers,99864},
{connection_writers,25697536},
{connection_channels,95040},
{connection_other,1942280},
{queue_procs,189536},
{queue_slave_procs,0},
{plugins,645288},
{other_proc,14228968},
{mnesia,101896},
{mgmt_db,615664},
{msg_index,14967232},
{other_ets,5246072},
{binary,6598589536},
{code,22475925},
{atom,883633},
{other_system,6306418}]},
{alarms,[memory]},
{listeners,
[{clustering,25672,"::"},
{amqp,5672,"127.0.0.1"},
{'amqp/ssl',5671,"::"},
{'stomp/ssl',61614,"::"}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,6687214796},
{disk_free_limit,819462080},
{disk_free,2658975744},
{file_descriptors,
[{total_limit,924},
{total_used,23},
{sockets_limit,829},
{sockets_used,19}]},
{processes,[{limit,1048576},{used,407}]},
{run_queue,0},
{uptime,151129}]
- What happens when RabbitMQ fails or crashes, are messages in the queues get lost, or what?
- What is the difference between msg_store_persistent and msg_store_transient?
Erlang R16B03 (erts-5.10.4)
RabbitMQ version 3.4.2
Thanks