错误报告
环境
- EMQX 版本:5.0.20
- 操作系统版本:
重现此问题的步骤
nginx配置3台mqtt,请求nginx需要优化吗,感觉是连接数不够用还是,目前每台大概27000左右的连接数
stream {
upstream mqtt-tcp {
server 192.168.1.1:1883 weight=5;
server 192.168.4.2:1883 weight=10;
server 192.168.4.3:1883 weight=10;
}
}
错误日志:
2023-03-23T07:05:18.313198+00:00 [error] msg: unexpected_sock_close, mfa: emqx_channel:handle_info/2, line: 1266, peername: 192.168.4.192:46614, clientid: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.ss.zPHcIrFhFKfp4N-QmF5wCVHcfhbLd8V9PBVE8z5HWrE, reason: protocol_error