-
Notifications
You must be signed in to change notification settings - Fork 98
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
tcp连接占用时间太长导致请求量大时进程文件打开数过多报错 #41
Comments
你说的是 ESTABLISHED 空闲连接的释放周期过长吗?还是什么 |
是的,客户端的请求已经结束了,服务端发起的请求建立的连接还会保持很长一段时间的ESTABLISHED,这些连接既没有释放也没有被复用,导致有新的请求进来连接数就会一直增长 |
bincooo
added a commit
that referenced
this issue
Jun 19, 2024
bincooo
added a commit
that referenced
this issue
Jun 20, 2024
已解决,感谢作者帮助! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前测试看到的tcp连接(服务端发起的请求)在客户端请求结束后还会生存10分钟左右才被释放,能不能在请求结束后及时关闭连接释放资源,并且可以接收一个请求超时时间参数来设置请求超时,避免连接长时间占用
The text was updated successfully, but these errors were encountered: