Skip to content
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

builtin port forwarder resource leak #156

Closed
AkihiroSuda opened this issue Jul 28, 2020 · 0 comments · Fixed by #157
Closed

builtin port forwarder resource leak #156

AkihiroSuda opened this issue Jul 28, 2020 · 0 comments · Fixed by #157
Labels
bug Something isn't working priority/high

Comments

@AkihiroSuda
Copy link
Member

$ rootlesskit --state-dir=/tmp/foo -p 127.0.0.1:8000:8000/tcp --net=slirp4netns --port-driver=builtin python3 -m http.server
$ ls /proc/$(cat /tmp/foo/child_pid)/fd | wc -l
7
$ curl -s http://localhost:8000 > /dev/null
$ ls /proc/$(cat /tmp/foo/child_pid)/fd | wc -l
9
$ curl -s http://localhost:8000 > /dev/null
$ ls /proc/$(cat /tmp/foo/child_pid)/fd | wc -l
11
@AkihiroSuda AkihiroSuda added bug Something isn't working priority/high labels Jul 28, 2020
AkihiroSuda added a commit to AkihiroSuda/rootlesskit that referenced this issue Jul 28, 2020
Fix rootless-containers#156

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
youmeim pushed a commit to youmeim/rootlesskit that referenced this issue Dec 20, 2024
Fix rootless-containers#156

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority/high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant