Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
This is specific to Linux, as OS X does not have a proc filesystem.
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 root process and all sub-processes of that process. This will use the Linux procfs filesystem to retrieve processes in the relevant process tree, query each process for memory and CPU usage, and aggregate usage into a single report. It will use the proc_utils additions of MESOS-89 https://issues.apache.org/jira/browse/MESOS-38 for some of this functionality.
This monitor module will be used by the ProcessBasedIsolationModule to periodically measure the memory and delta CPU usage of the slave's executors.