incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <>
Subject [jira] [Commented] (MESOS-349) remove mounts when garbage collecting tasks
Date Tue, 23 Apr 2013 23:41:15 GMT


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:
>             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:

View raw message