Mosquitto 最大桥持久性

Mosquitto maximum bridge persistence

我需要桥接两个 mqtt 代理。 第一个是 mosquitto,它在本地 运行。 第二个是另一个 mosquitto 实例和 运行 远程。 我正在使用启用了持久性的桥接功能将消息从第一个代理转发到第二个代理。 这是我的会议:[​​=11=]

# Bridge test
connection br-win-to-deb
bridge_insecure true
address 192.168.138.166:1883
cleansession false
clientid br-win-deb
start_type automatic

notifications false
try_private true

# Forward di tutti i messaggi con topic GATEWAY su topic AZURE
topic # out 2 GATEWAY/ AZURE/

persistence true
persistence_file Messages.db
persistence_location C:/temp/

max_queued_messages 36000000
autosave_interval 10

queue_qos0_messages true

实际上它可以工作,但是当文件 Messages.db 达到大约 1Gb 并且使用的 ram 达到大约 2gb 时,mosquitto 崩溃了。 我在 windows 7 x64 中 运行 蚊子。 消息的数量大约是 10000000,但我至少需要 36000000。 是内存的问题吗?有限制吗? 是否存在支持大量消息的 mqtt 代理?

是Windows版本的问题。 在 Debian 上,问题是一样的。 我使用的蚊子版本是 v.1.4.8 OS.