错误报告
环境
- EMQX 版本:5.0.20
- 操作系统版本:
重现此问题的步骤
升级到5.0.20版本,授权开启http请求之后,我们服务端还是请求量大还是会报错,帮忙看一下,错误日志如下:
e: <<“conn_congestion/9c00b9c500e247199ed05eda96c6a3de/XX”>>
2023-03-20T14:36:30.145234+00:00 [error] msg: unexpected_sock_close, mfa: emqx_channel:handle_info/2, line: 1266, peername: 1.193.37.50:49975, clientid: .ss.CSzqaLZnz8jRjyjm2kdAbK7S_RNv4Urhcyb0bqWRFCg, reason: einval
2023-03-20T14:40:33.448894+00:00 [error] msg: unexpected_sock_close, mfa: emqx_channel:handle_info/2, line: 1266, peername: 192.168.4.188:41832, clientid: .ss.lr0ilVRqWmooMfl9O7Xa6XQLsv_6ThSWDiIDXg0VgA8, reason: tcp_closed
2023-03-20T14:40:39.395690+00:00 [warning] msg: alarm_is_activated, mfa: emqx_alarm:do_actions/3, line: 416, message: <<“connection congested: #{buffer => 4096,clientid => <<“9c00b9c500e247199ed05eda96c6a3de”>>,conn_state => connected,connected_at => 1679323237506,high_msgq_watermark => 8192,high_watermark => 1048576,memory => 627152,message_queue_len => 237,peername => <<“192.168.4.192:45054”>>,pid => <<“<0.28703.8>”>>,proto_name => <<“MQTT”>>,proto_ver => 5,recbuf => 442232,recv_cnt => 100,recv_oct => 97700,re”…>>, name: <<“conn_congestion/9c00b9c500e247199ed05eda96c6a3de/ss”>>
2023-03-20T14:40:43.838837+00:00 [warning] msg: alarm_is_deactivated, mfa: emqx_alarm:do_actions/3, line: 422, name: <<“conn_congestion/9c00b9c500e247199ed05eda96c6a3de/bb”>>
2023-03-20T14:40:48.626268+00:00 [warning] msg: alarm_is_activated, mfa: emqx_alarm:do_actions/3, line: 416, message: <<“connection congested: #{buffer => 4096,clientid => <<“9c00b9c500e247199ed05eda96c6a3de”>>,conn_state => connected,connected_at => 1679323246848,high_msgq_watermark => 8192,high_watermark => 1048576,memory => 1023792,message_queue_len => 524,peername => <<“192.168.4.192:45922”>>,pid => <<“<0.30778.8>”>>,proto_name => <<“MQTT”>>,proto_ver => 5,recbuf => 374400,recv_cnt => 100,recv_oct => 90035,r”…>>, name: <<“conn_congestion/9c00b9c500e247199ed05eda96c6a3de/ss”>>
2023-03-20T14:40:53.611909+00:00 [warning] msg: alarm_is_deactivated, mfa: emqx_alarm:do_actions/3, line: 422, name: <<“conn_congestion/9c00b9c500e247199ed05eda96c6a3de/bb”>>