You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2016/11/13 06:56:59 UTC

[jira] [Commented] (MESOS-6478) "filesystem/linux" isolator leaks (phantom) mounts in `mount` output

    [ https://issues.apache.org/jira/browse/MESOS-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15660998#comment-15660998 ] 

Yan Xu commented on MESOS-6478:
-------------------------------

Or unmount work_dir when linux filesystem isolator terminate() if it's not already mounted when it started?

> "filesystem/linux" isolator leaks (phantom) mounts in `mount` output
> --------------------------------------------------------------------
>
>                 Key: MESOS-6478
>                 URL: https://issues.apache.org/jira/browse/MESOS-6478
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>            Reporter: Yan Xu
>            Priority: Minor
>
> After running the tests I can find these with {{mount}}:
> {noformat:title=sample errors, there are many more}
> /tmp/LinuxFilesystemIsolatorTest_ROOT_Metrics_jHFTIO on /tmp/LinuxFilesystemIsolatorTest_ROOT_Metrics_jHFTIO type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromHost_W0T33m on /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromHost_W0T33m type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromHostSandboxMountPoint_mGd8ff on /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromHostSandboxMountPoint_mGd8ff type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_uMlTqr on /tmp/LinuxFilesystemIsolatorTest_ROOT_ChangeRootFilesystem_uMlTqr type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_FileVolumeFromHostSandboxMountPoint_tU9FqX on /tmp/LinuxFilesystemIsolatorTest_ROOT_FileVolumeFromHostSandboxMountPoint_tU9FqX type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_PersistentVolumeWithoutRootFilesystem_94nMdN on /tmp/LinuxFilesystemIsolatorTest_ROOT_PersistentVolumeWithoutRootFilesystem_94nMdN type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_PersistentVolumeWithRootFilesystem_cy8INw on /tmp/LinuxFilesystemIsolatorTest_ROOT_PersistentVolumeWithRootFilesystem_cy8INw type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_MultipleContainers_ot2j9R on /tmp/LinuxFilesystemIsolatorTest_ROOT_MultipleContainers_ot2j9R type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNotNeeded_S0frNw on /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNotNeeded_S0frNw type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNeeded_OH3VdQ on /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNeeded_OH3VdQ type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNeeded_OH3VdQ/slave on /tmp/LinuxFilesystemIsolatorTest_ROOT_WorkDirMountNeeded_OH3VdQ/slave type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromSandbox_1ILVSa on /tmp/LinuxFilesystemIsolatorTest_ROOT_VolumeFromSandbox_1ILVSa type none (rw,bind)
> /tmp/LinuxFilesystemIsolatorTest_ROOT_FileVolumeFromHost_PKSGpm on /tmp/LinuxFilesystemIsolatorTest_ROOT_FileVolumeFromHost_PKSGpm type none (rw,bind)
> {noformat}
> Of course these don't exist and they are gone from {{/proc/mounts}} but I imagine these could look scary when after running the agent for a while. Perhaps we can improve the Mesos mount utility to take care of these so they don't leave these traces?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)