iovisor / iovisor/bcc

python3 sockmap.py -c "/sys/fs/cgroup/unified/": The maximum transmission of a single socket stream is 2047M, and it starts to get stuck, why?

Open
#3,921 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

# question:
```
python3 sockmap.py -c "/sys/fs/cgroup/unified/": The maximum transmission of a single socket stream is 2047M, and it starts to get stuck, why?
```

# description:
```
Ubuntu 21.04
kernel-5.9.11
clang-11
llvm-11
```
# error example
```
server:nginx listen 18080 port
client:
#python3 sockmap.py -c "/sys/fs/cgroup/unified/"
#curl http://127.0.0.1:18080/5g.b -v > /dev/null
39 5120M 39 2047M 0 0 91.0M 0 0:00:56 0:00:22 0:00:34 0
The maximum transmission of a single socket stream is 2047M, and it starts to get stuck, why?
close sockmap.py, curl can download successfully
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the transfer with python3 sockmap.py using /sys/fs/cgroup/unified/, curl, and the nginx server described in the issue. Compare the 5 GB download with sockmap.py enabled and disabled, using the stated Ubuntu 21.04, kernel 5.9.11, clang-11, and llvm-11 environment. Done means identifying the cause of the 2047M stall and documenting or correcting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, nginx, python
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.