You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/04/24 01:41:15 UTC

[jira] [Commented] (MESOS-349) remove mounts when garbage collecting tasks

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

Benjamin Mahler commented on MESOS-349:
---------------------------------------

So the kernel does not clean up any dangling mounts?

Sounds like a fix would be to read /proc/mounts and if anything is mounted within the sandbox, forcibly unmount it. Does that solve the issue?
                
> remove mounts when garbage collecting tasks
> -------------------------------------------
>
>                 Key: MESOS-349
>                 URL: https://issues.apache.org/jira/browse/MESOS-349
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave
>            Reporter: Jonathan Boulle
>            Priority: Minor
>
> It would be extremely helpful if the GC process on a slave (which is currently effectively just an {{rm -rf}}) could also remove mounts within the executor sandbox. 
> This would allow sandboxes to incorporate mounts from different filesystems, for example, or to utilise chroots (which require various mounts to function properly - e.g. {{/proc}} and {{/sys}} on Linux) - and still be cleaned up by the mesos slave without any external intervention.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira