-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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 service list fails with "rpc error: code = Unavailable desc = transport is closing" #37849
Comments
hi, fixed: we reduced the number of old tasks (reducing RestartAttempts and task-history-limit) until the response to api/tasks was under 1Mb
thanks! |
os: centos 7 cmd on node to get dockerd log: sudo journalctl -u docker.service and I guess that it is a task that run in the container that casuse the above problem. The app consume much memory and cause OOM. I run the task which is a training task in a container, and it was killed. solution: optimize the task to consume less mem, or run the task on another node with enough mem. |
Same issue with Docker version 20.10.7, build 20.10.7-0ubuntu1~18.04.1. Any clues on this ?
|
@shivam2202 it's a different error in your case. Also a "rpc" error, but because docker failed to connect with containerd. ( |
Hi,
we hava a physical docker swarm with 3 managers, 1 of them updated to 18.06.01-ce (sys2) and the others still in 17.12.0-ce (sys1 and db1)
everything works ok, except the
docker service list
command from the updated node:when this happens
docker events
shows:also, all connections from sys2 to the cluster (docker service log ...) are interrupted
Steps to reproduce the issue:
Describe the results you received:
Error response from daemon: rpc error: code = Unavailable desc = transport is closing
Describe the results you expected:
the list of services
Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: