Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
This is specific to Linux, as OS X does not support lxc and cgroups.
Description
This is primarily a component of MESOS-38 https://issues.apache.org/jira/browse/MESOS-38
Create a ResourceMonitor implementation that monitors the memory and CPU usage of a Linux container. This will query lxc-cgroups to collect the memory and CPU usage for the associated container and generate a report. It will use the proc_utils additions of MESOS-89 https://issues.apache.org/jira/browse/MESOS-38 for a bit of this functionality.
This monitor module will be used by the LxcIsolationModule to periodically measure the memory and delta CPU usage of the slave's executors.