2021-06-20 19:27:59.702 [info] <0.480.0> Making sure data directory ‘/var/lib/rabbitmq/mnesia/rabbit@mq/msg_stores/vhosts/DBDIG9X L0YNP4DKU6U4NFXRE8‘ for vhost ‘llody‘ exists 2021-06-20 19:27:59.705 [info] <0.480.0> Starting message stores for vhost ‘llody‘ 2021-06-20 19:27:59.705 [info] <0.484.0> Message store "DBDIG9/msg_store_transient": using rabbit_msg_store_ets_index to provide in dex 2021-06-20 19:27:59.706 [info] <0.480.0> Started message store of type transient for vhost ‘llody‘ 2021-06-20 19:27:59.706 [info] <0.488.0> Message store "DBDIG9/msg_store_persistent": using rabbit_msg_store_ets_index to provide i ndex 2021-06-20 19:27:59.783 [warning] <0.488.0> Message store "DBDIG9/msg_store_persistent": rebuilding indices from scratch
没有报其他错,只有这个显示,大意是要重新加载数据目录下的所有数据,因为之前程序开发有问题,导致消费者消费不完数据,全部落盘到了磁盘中,达到了接近100G。
要把100G全部加载到内存,这得是多大的内存啊。
所以只有两个方案:
1,找到虚拟主机下看哪个占用最大,把不重要的队列做清空。或者直接删除落盘的数据文件。
2,加内存。