-
Notifications
You must be signed in to change notification settings - Fork 469
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
docker.sock fd leak when using DSR #342
Labels
Comments
@murali-reddy Yes.. Only with DSR. When I remove the DSR annotation, the fd count is more or less constant, but not shrinking - indicating that the connections are never closed.
|
@murali-reddy Done testing. LGTM. Number of open connections is now stable. Thank for the quick response and good work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like kube-router is leaking socket connections to docker.sock, when applying DSR=tunnel to a service.
Reproduce
Indications
... kube-router eventually dies when reaching open-files ulimit.
Suggestions
Invoke client.close on the docker client at some point?
Env info
kube-router
0.1.0-rc2
OS/Kernel
Linux container-p01 4.15.7 #1-NixOS SMP Wed Feb 28 09:21:39 UTC 2018 x86_64 GNU/Linux
docker server
Version: 17.09.1-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.9.2
Git commit: 19e2cf6259bd7f027a3fff180876a22945ce4ba8
Built: Thu Jan 1 00:00:01 1970
OS/Arch: linux/amd64
Experimental: false
The text was updated successfully, but these errors were encountered: