Hi,

Is there a way to force Mesos to use one executor per task?
The reason I would want to do that is for resources limits: for example,
when using cgroup to limit CPU and memory, IIUC the containeriser sets
limits corresponding to the sum of the resources allocated to the tasks
managed by the underlying executor.

Which means that for example if a task is allocated 1GB and another 2GB, if
they are started by the same executor, the collarbone containeriser will
limit the total memory for the two tasks (plus the executor) to 3GB. But,
unless I'm missing something, nothing prevents a process (assuming one
process per task with e.g. the command executor or a custom executor) from
using more than its limit.

Obviously it would be possible for the executor to enforce the individual
limits itself using cgroup - does the command/default executor do that? -
but in our case where we use a custom executor it would be quite painful.

Unless I'm missing something?

Thanks in advance for suggestions,

Charles

Reply via email to