mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #365] 当max_connections 调小,对应闲置的tcp链接并没有被释放 #222
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaede11 on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/365
`
CoTask ServiceGroup::checkConnectionsRegularly() {
while (true) {
}
}
`
代码中只针对RDMA进行了链接释放,并没有对TCP 链接进行释放。而实现上,RDMA是需要TCP来传递device信息
@SF-Zhou commented on GitHub (Dec 30, 2025):
We do not consider TCP connections necessary to actively release. There are cases where RDMA connections are broken on the client side while the server side remains unaware, so periodic cleanup is required.
@kaede11 commented on GitHub (Dec 30, 2025):
为什么不考虑?比如一个场景,应对大促,业务侧需要临时调大max_connections,大促过后,在调整回来,这会导致这些链接还占用资源,也属于一种资源泄漏吧?
@kaede11 commented on GitHub (Dec 30, 2025):
client侧确实存在这个问题,尤其在storage node平滑退出场景,可以让client提前感知broken connection,即滚动升级对业务无感