deepseek-ai / deepseek-ai/3FS

当max_connections 调小,对应闲置的tcp链接并没有被释放

Open
#365 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

`

CoTask ServiceGroup::checkConnectionsRegularly() {

while (true) {

XLOGF(DBG9, "server@{} check connections", fmt::ptr(this));

ioWorker().checkConnections(Address{0, 0, Address::RDMA}, config_.connection_expiration_time());

co_await folly::coro::sleep(config_.check_connections_interval().asMs());
}
}

`
代码中只针对RDMA进行了链接释放,并没有对TCP 链接进行释放。而实现上,RDMA是需要TCP来传递device信息

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ServiceGroup::checkConnectionsRegularly() and follow ioWorker().checkConnections(), comparing the RDMA path with the TCP connections it uses to transfer device information. Confirm how max_connections changes are handled for idle links, then verify that idle TCP connections are released after the limit is reduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.