mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Keijser <david.keij...@klarna.com>
Subject Re: limit swap usage with docker containeriser
Date Wed, 23 Mar 2016 14:11:30 GMT
On Wed, Mar 23, 2016 at 09:42:50PM +0800, haosdent wrote:
> Do you mean add `memory-swap` when start docker container in Mesos? There
> is a field `repeated Parameter parameters = 5;` in DockerInfo proto. You
> could pass your docker running parameters in this field.

What I'm looking for is a flag (like `cgroups_limit_swap`) to always
enable limits on both memory and swap based on the resources allocated.
Without the need for every framework to add the memory-swap docker
option to each task.

Mime
View raw message