I would like to know if cgroups are applied at executor level or directly at task level. Because, an executor can have many tasks, and executor can shrink or expand accordingly. Although, in most cases, only one executor runs one task.
I ran a quick experiment, by launching an aurora job. When the task got launched on slave, here's the label that got created: /sys/fs/cgroup/cpu/mesos/71d35ca2-caa5-420d-9161-a42b750555cd The task got mounted under name: 71d35ca2-caa5-420d-9161-a42b750555cd I found that the executor id was: thermos-1408469503272-myuser-devel-largeprofile-0-d07b0417-eced-4515-b5ce-978416b82ebc And, the task id was: 71d35ca2-caa5-420d-9161-a42b750555cd Is this the expected behavior ? Or the cgroup label should be executor id ? Since, I am using aurora, thermos_executor is used for tasks. Mesos version: 0.18.0 Regards Mohit