Re: Problem using cgroups/mem isolator

2015-05-04 Thread Ian Downes
The link from Tim suggests that not all kernels enable this. Could you please file a bug report and we'll improve the handling of this in Mesos. ian On Sat, May 2, 2015 at 2:20 PM, CCAAT cc...@tampabay.rr.com wrote: On 05/02/2015 02:17 PM, Tim Chen wrote: Hi Arunabha, Which linux

Re: Problem using cgroups/mem isolator

2015-05-02 Thread Dario Rexin
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 arunabha...@gmail.com wrote: Hi, I'm trying to use the cgroups memory isolator, but

Problem using cgroups/mem isolator

2015-05-02 Thread Arunabha Ghosh
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:

Re: Problem using cgroups/mem isolator

2015-05-02 Thread CCAAT
On 05/02/2015 02:17 PM, Tim Chen wrote: Hi Arunabha, Which linux distro/version are you using? A quick search on google finds some settings that might be required to turn on memsw.limit_in_bytes options for cgroups: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1348688 Tim Maybe the