2.4.1版本 fe的日志 一直有Connection reset by peer 日志错误是为什么

【详述】2.4.1版本 fe的日志 一直有Connection reset by peer 日志错误是为什么
【背景】做过哪些操作?
【业务影响】
【StarRocks版本】例如:2.4.1
【集群规模】例如:3fe(1 follower+2observer)+5be(fe与be混部)
【机器信息】CPU虚拟核/内存/网卡,例如:48C/64G/万兆
【附件】

  • fe.log/beINFO/相应截图
  • 慢查询:
    • Profile信息
    • 并行度:show variables like ‘%parallel_fragment_exec_instance_num%’;
    • pipeline是否开启:show variables like ‘%pipeline%’;
    • be节点cpu和内存使用率截图
  • 查询报错:
  • be crash
    • be.out

日志截图如下

一般是因为客户端主动断开,可能是链接池满了触发了释放或者是客户端到服务端网络抖动

/proc/sys/net/core/somaxconn建议全队列配置或者大于等于1024

/proc/sys/net/core/somaxconn 请问下 这个具体是在哪配置

这个是服务器的参数,可以联系咱们运维人员修改下

你好,使用helm安装到阿里云k8s后,logs下一直有条警告日志,并且进入容器内部查看了,/proc/sys/net/core/somaxconn这个参数值是4096,请问是哪里的问题啊?


2023-04-13 07:21:25,157 WARN (starrocks-mysql-nio-pool-0|111) [AcceptListener.lambda$handleEvent$1():95] connect processor exception because
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) ~[?:?]
at sun.nio.ch.IOUtil.read(IOUtil.java:245) ~[?:?]
at sun.nio.ch.IOUtil.read(IOUtil.java:223) ~[?:?]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:356) ~[?:?]
at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:289) ~[xnio-nio-3.7.9.Final.jar:3.7.9.Final]
at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127) ~[xnio-api-3.7.9.Final.jar:3.7.9.Final]
at org.xnio.channels.Channels.readBlocking(Channels.java:294) ~[xnio-api-3.7.9.Final.jar:3.7.9.Final]
at com.starrocks.mysql.nio.NMysqlChannel.realNetRead(NMysqlChannel.java:53) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.MysqlChannel.readAllPlain(MysqlChannel.java:149) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.MysqlChannel.readAll(MysqlChannel.java:142) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.MysqlChannel.fetchOnePacket(MysqlChannel.java:173) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.MysqlProto.readAuthPacket(MysqlProto.java:223) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.MysqlProto.negotiate(MysqlProto.java:120) ~[starrocks-fe.jar:?]
at com.starrocks.mysql.nio.AcceptListener.lambda$handleEvent$1(AcceptListener.java:71) ~[starrocks-fe.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]