Skip to content

File descriptor leak on init/control #275

Closed
@thockin

Description

Running docker 1.11, we found a file-descriptor leak. Some or all (unclear) terminated containers leave behind and open fd in container for /run/containerd/.../init/control

# ls -l /proc/*/fd/ | grep deleted
lrwx------ 1 root root 64 Jun 28 00:44 39 -> /run/containerd/9dde41ecbdefee15d9681a8da419015a3160faef45eebf543ec2bcabcb1bcd42/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 00:44 43 -> /run/containerd/7ca8ac8dad282a505ccc7b3fc643985879530a71efdb487e26e2a7e0f8b4fd1b/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 76 -> /run/containerd/094b11fdfb0bbc782319483335bd3f736291b303f436421127d4b91cd879095e/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 77 -> /run/containerd/cb469696a72c151a4da143fa6a2f820c5b5ce146005cc56eaddd6fd1b0ca567b/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 78 -> /run/containerd/fbec2b08ce946b0d48c4682afeeb1638e82779c45683eb6a0e34590cca355151/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 79 -> /run/containerd/9684f7fa8c1fe008e6b4ec3477779e799cb1d0140a087207b0e2909793f8456a/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 80 -> /run/containerd/f5a1df76401f2e03b84d8676140b4b16a3294b00aeae751fc4576f23a7ab4d2b/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 81 -> /run/containerd/c083111aff56cc412443777bf58f3b5513b93b6dddc23b40c8ca06cd3e7a070b/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 82 -> /run/containerd/47a9f4ada17aba758a8a8c2f361317125d49919f7274ab4a645e67dbf7544752/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 83 -> /run/containerd/fda8ebb0c3401320d6b737786cdd4c2c1f7f8389b6f5323b44261f6330bd7f55/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 84 -> /run/containerd/756aa08e453c9c5d1ed4d107d5926668d6b58dccb948eb6052ea362b729b3f65/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 85 -> /run/containerd/d1d275afac8d7914b5064756ca0a1e02db7fc9be3c97811c78acd73199233c77/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 86 -> /run/containerd/7c092b5da735365959760019bc7a8f215ea631fcef0186139ca275ee846d605b/init/control (deleted)
lrwx------ 1 root root 64 Jun 28 01:00 87 -> /run/containerd/a49e4727a6ed4b68db0cf686a04c95597921b91ab230b632c36b9004dcda1d11/init/control (deleted)

@dchen1107

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions