-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NETPOLL: readall(fd=xxx) before close: EOF #1011
Comments
这个报错实际上是在对端关闭连接时,读取未读完的缓冲区数据到input buffer,避免send&close的情况下,无法处理请求。 |
感谢您的解答! |
最好还是抓包看看,主要是看对应连接是跟哪个来源方建立的,从上面的表述看,没有发现明确的可疑点。 |
我们也遇到这个问题。。。 |
是不是需要加个lianjie1池监控 |
之前有遇到这个问题吗?或者你们提供一个最小可复现的代码? |
看起来是网络问题,使用耗时长的http连接也会复现 |
这个日志本身也没必要打的,不算是错误 |
Describe the bug
QPS2000左右的测试环境下,Kitex服务端偶尔会出现这个报错,大概一天不超过10次。
To Reproduce
偶尔可发现这个报错,手动无法复现
server端配置:
client配置:(长连接)
仅上线服务端后即有这个错误,也就是在没有client请求的情况下就会出现这个日志
Screenshots
2023/05/24 00:41:28 NETPOLL: readall(fd=182) before close: EOF
2023/05/24 00:08:59 NETPOLL: readall(fd=112) before close: EOF
2023/05/23 22:10:07 NETPOLL: readall(fd=205) before close: EOF
2023/05/23 20:10:06 NETPOLL: readall(fd=135) before close: EOF
2023/05/23 17:38:03 NETPOLL: readall(fd=140) before close: EOF
2023/05/23 17:10:07 NETPOLL: readall(fd=245) before close: EOF
2023/05/23 10:28:53 NETPOLL: readall(fd=201) before close: EOF
Kitex version:
v0.6.0
Environment:
golang:v1.18-alpine
The text was updated successfully, but these errors were encountered: