You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Zhitao Li (JIRA)" <ji...@apache.org> on 2017/06/15 15:21:00 UTC

[jira] [Created] (MESOS-7676) Create mechanism to limit rootfs size for container

Zhitao Li created MESOS-7676:
--------------------------------

             Summary: Create mechanism to limit rootfs size for container
                 Key: MESOS-7676
                 URL: https://issues.apache.org/jira/browse/MESOS-7676
             Project: Mesos
          Issue Type: Bug
            Reporter: Zhitao Li


Right now, Mesos agent enforces size limit of an executor and its tasks(s) on two locations:
- sandbox;
- persistent volume.

It will be great to explore whether we can also limit the size (at least the dynamic part) of a Mesos container, so that a container cannot write unbounded amount of data into its rootfs and use up all disk space w/o proper charged. It will even more awesome if these size change is naturally charged to the limit of {{disk}} resource.

One idea is to make the mutable directories involved in a rootfs created in executor's sandbox, which is size controlled.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)