Hi Arunabha,

you may need to enable memory isolation in the kernel. You can do that by 
adding cgroup_enable=memory to your kernel boot options.

Cheers,
Dario



> On 02.05.2015, at 04:49, Arunabha Ghosh <[email protected]> wrote:
> 
> Hi,
>      I'm trying to use the cgroups memory isolator, but after setting 
> --isolation to 'cgroups/cpu,cgroups/mem' I'm getting the following error in 
> the logs
> 
> mesos-slave[12416]: Failed to create a containerizer: Could not create 
> MesosContainerizer: Could not create isolator cgroups/mem: 
> 'memory.memsw.limit_in_bytes' is not available
> 
> The cgroups cpu isolator seems to be working as setting --isolation to 
> 'cgroups/cpu.posix/mem' works fine. 
> 
> Has anyone run into this before ? Any help debugging this is greatly 
> appreciated.
> 
> Thanks,
> 
> Arunabha 

Reply via email to