错误报告
大概每隔2分钟收到1轮消息。但是消息实际发送是5秒一次。
环境
- EMQX 版本:开源版4.4.11
- 操作系统版本:centos7
你好,需要提供一下更多的信息,你的发布者有多少,消息大小是多少,EMQX 到订阅者的下行带宽有多少?订阅者的硬件性能怎么样。
看起来是消息在某个环节上堵塞了。
发布者只有一个服务端,消息大概120个字符
订阅者:16g内存,Intel 酷睿i5 9600KF
只做过下面的配置
node.process_limit = 2097152
node.max_ports = 1048576
zone.external.session_expiry_interval = 2h
zone.external.max_mqueue_len = 1
listener.tcp.external.acceptors = 64
listener.tcp.external.max_connections = 1024000
retainer.max_retained_messages = 1
auth.http.auth_req.url = http://127.0.0.1:8080/mqtt/auth
auth.http.auth_req.method = post
auth.http.auth_req.headers.content_type = application/x-www-form-urlencoded
auth.http.auth_req.params = clientid=%c,username=%u,password=%P,ipaddr=%a
auth.http.super_req.url = http://127.0.0.1:8080/mqtt/superuser
auth.http.super_req.method = post
auth.http.super_req.headers.content-type = application/x-www-form-urlencoded
auth.http.super_req.params = clientid=%c,username=%u
auth.http.acl_req.url = http://127.0.0.1:8080/mqtt/acl
auth.http.acl_req.method = post
auth.http.acl_req.headers.content-type = application/x-www-form-urlencoded
auth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t,mountpoint=%m