moby: docker API request hang
Anyone help? I`m running pressure test through unix socket(create/destroy container and other operations) . After several hours , error info for all docker cli commands: 2014/12/11 10:50:56 Get http:///var/run/docker.sock/v1.13/containers/json: dial unix /var/run/docker.sock: resource temporarily unavailable
start command /usr/bin/docker -d -D -g /home/docker -H unix:///var/run/docker.sock -H tcp://0.0.0.0:61234
Client version: 1.1.2 Client API version: 1.13 Go version (client): go1.3.3 Git commit (client): d84a070/1.1.2
looking at /proc/pid/fd, I saw a lot of occupied socket like below: lrwx------ 1 root root 64 Dec 10 16:48 99 -> socket:[201660445] lrwx------ 1 root root 64 Dec 10 16:48 990 -> socket:[1093592034] lrwx------ 1 root root 64 Dec 10 16:48 991 -> socket:[1102948910] lrwx------ 1 root root 64 Dec 10 16:48 992 -> socket:[1086811537] lrwx------ 1 root root 64 Dec 10 16:48 993 -> socket:[1079178152] lrwx------ 1 root root 64 Dec 10 16:48 994 -> socket:[1093592036] lrwx------ 1 root root 64 Dec 10 16:48 995 -> socket:[1102935935] lrwx------ 1 root root 64 Dec 10 16:48 996 -> socket:[1068145904] lrwx------ 1 root root 64 Dec 10 16:48 997 -> socket:[1102935779] lrwx------ 1 root root 64 Dec 10 16:48 998 -> socket:[1104897454]
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 46 (16 by maintainers)
@cpuguy83 I’ve created a custom CoreOS Alpha 1248.0.0 AMI with a custom docker build which combines the coreos/docker#coreos-1.12.3 branch with the upstream changes from the docker/docker#1.12.x branch (see felixbuenemann/docker#coreos-1.12.3-fixes) and deployed it to 3 different clusters. So far no hangs! I’ll wait some more and if no issues arise I’ll also roll it out to production clusters.