客户端过几分钟断连,然后消息流入速率才100多。

版本信息:[5.3.0]
协议:MQTT v5.0

1.控制台报警信息
connection congested: #{buffer => 4096,clientid => <<“xx_mqtt_dev_1734432332088_0”>>,conn_state => connected,connected_at => 1734492398875,high_msgq_watermark => 8192,high_watermark => 1048576,memory => 2919184,message_queue_len => 0,peername => <<“10.5.xx.xx:6561”>>,pid => <<“<0.1363.55>”>>,proto_name => <<“MQTT”>>,proto_ver => 4,recbuf => 371200,recv_cnt => 10,recv_oct => 1344,reductions => 1038393,send_cnt => 120,send_oct => 1694350,send_pend => 76847,sndbuf => 400384,sockname => <<“10.5.xx.xx:1883”>>,socktype => tcp,username => <<“xx”>>}

2.客户端断连信息
{“username”:“xx”,“ts”:1734509983732,“sockport”:1883,“reason”:“tcp_closed”,“protocol”:“mqtt”,“proto_ver”:4,“proto_name”:“MQTT”,“ipaddress”:“10.xx.xx.xx”,“disconnected_at”:1734509983732,“connected_at”:1734509921259,“clientid”:“xxxxxxx”}

3.抓包提示服务器缓存区已满,不再接受数据。

听起来很奇怪,麻烦上传一个完整日志

我说的是 emqx 的完整日志