BUG REPORT INFORMATION
Description
If a process is run inside a docker container via docker exec and that process leaves a zombie process then further docker exec commands to that container will hang. I believe the issue is in containerd based on reading about other issues in this repository. Please correct me if I am wrong.
Steps to reproduce the issue:
- Extract the attached
docker_exec_hang_issue.tar.gz
cd docker_exec_hang_issue
./setup_container.sh
- Terminal 1:
./ping_via_exec.sh
- Terminal 2:
./test.sh
- Terminal 1's exec commands will get stuck few seconds after
test.sh is executed.
Describe the results you received:
Any further docker exec command gets stuck. That is the ping_via_exec.sh script gets stuck
Describe the results you expected:
Other docker exec commands should continue to work.
Output of containerd --version:
containerd github.com/containerd/containerd 1.2.5 bb71b10fd8f58240ca47fbb579b9d1028eea7c84
Tried this test with stable and latest beta docker-ce versions.
[root@chomps1 ~]# docker version
Client:
Version: 18.09.6
API version: 1.39
Go version: go1.10.8
Git commit: 481bc77156
Built: Sat May 4 02:34:58 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.6
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 481bc77
Built: Sat May 4 02:02:43 2019
OS/Arch: linux/amd64
Experimental: false
[root@chomps1 ~]#
[root@chomps1 19.03.0]# docker version
Client:
Version: 19.03.0-beta3
API version: 1.40
Go version: go1.12.4
Git commit: c55e026
Built: Thu Apr 25 02:58:56 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 19.03.0-beta3
API version: 1.40 (minimum version 1.12)
Go version: go1.12.4
Git commit: c55e026
Built: Thu Apr 25 02:57:35 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.5
GitCommit: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc:
Version: 1.0.0-rc6+dev
GitCommit: 2b18fe1d885ee5083ef9f0838fee39b62d653e30
docker-init:
Version: 0.18.0
GitCommit: fec3683
[root@chomps1 19.03.0]#
docker_exec_hang_issue.tar.gz
BUG REPORT INFORMATION
Description
If a process is run inside a docker container via
docker execand that process leaves a zombie process then furtherdocker execcommands to that container will hang. I believe the issue is incontainerdbased on reading about other issues in this repository. Please correct me if I am wrong.Steps to reproduce the issue:
docker_exec_hang_issue.tar.gzcd docker_exec_hang_issue./setup_container.sh./ping_via_exec.sh./test.shtest.shis executed.Describe the results you received:
Any further
docker execcommand gets stuck. That is theping_via_exec.shscript gets stuckDescribe the results you expected:
Other
docker execcommands should continue to work.Output of
containerd --version:Tried this test with stable and latest beta docker-ce versions.
docker_exec_hang_issue.tar.gz