-
Notifications
You must be signed in to change notification settings - Fork 85
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
dockerd RSS usage too high #693
Comments
ping @kolyshkin ptal |
@kolyshkin this seems very similar to #670 Addtional details about our setup:
when the issue happens, the docker daemon appears to do lot of writes to disk (observed as vm page out activity in vmstat). |
Seems the same issue im having (moby/moby#40183). Any workarounds/fixes proposed? |
@tambetliiv from your comment on moby/moby#40183 (comment), looks to be a kernel issue?
|
If this issue experiences the same symptoms as I did, then yeah, I suggest trying kernel 4.19.77 or newer to verify that this really is the same issue. |
dockerd RSS usage too high
Expected behavior
Actual behavior
Steps to reproduce the behavior
We have not been able to reproduce the issue at will. We have tried:
Output of
docker version
:Output of
docker info
:docker is being controlled by kubelet 1.12.7
I ran the pprof to profile the heap, and here is the result:
From what I understand, the culprit for all the allocated runtime.malg structures is a large number of goroutines being active simultaneously, and again, from what I read, that memory is never freed by go runtime. My question is this:
How can I avoid the conditions that causes dockerd to launch many goroutines simultaneously?
We have seen the same issue with another node with docker-ce version 18.09.5, albeit with slightly lower memory consumption:
The text was updated successfully, but these errors were encountered: