mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ti...@apache.org
Subject mesos git commit: Added cgroup instructions for CentOS 6.6.
Date Wed, 13 Jan 2016 17:49:18 GMT
Repository: mesos
Updated Branches:
  refs/heads/master ac86eb741 -> dd1852464


Added cgroup instructions for CentOS 6.6.

By default cgroup management is not enabled on CentOS 6.6. As process
isolation can use cgroups, documentation on how to activate cgroup
management using cgconfig has been added.
Furthermore the Mesos tests need the 'perf_event' cgroup subsystem to
be present. Instructions on how to do this have been added as well.

Review: https://reviews.apache.org/r/42196/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dd185246
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dd185246
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dd185246

Branch: refs/heads/master
Commit: dd185246446c50b0e7e6499642219570a3557ce2
Parents: ac86eb7
Author: Jan Schlicht <jan@mesosphere.io>
Authored: Wed Jan 13 18:47:18 2016 +0100
Committer: Till Toenshoff <toenshoff@me.com>
Committed: Wed Jan 13 18:47:18 2016 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dd185246/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index c4e75d6..7177f9d 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -117,6 +117,13 @@ Following are the instructions for stock CentOS 6.6. If you are using
a differen
     $ scl enable devtoolset-2 bash
     $ g++ --version  # Make sure you've got GCC > 4.8!
 
+    # Process isolation is using cgroups that are managed by 'cgconfig'.
+    # The 'cgconfig' service is not started by default on CentOS 6.6.
+    # Also the default configuration does not attach the 'perf_event' subsystem.
+    # To do this, add 'perf_event = /cgroup/perf_event;' to the entries in '/etc/cgconfig.conf'.
+    $ sudo yum install -y libcgroup
+    $ sudo service cgconfig start
+
 ### CentOS 7.1
 
 Following are the instructions for stock CentOS 7.1. If you are using a different OS, please
install the packages accordingly.


Mime
View raw message