From 3ae0c5e18916a3c67822f644266205d6e2fa6e06 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Feb 2013 15:00:26 +0100 Subject: man: clarify how to configure default control group hierarchies for services and sessions --- man/logind.conf.xml | 25 ++++++++++++++++++++----- man/systemd-system.conf.xml | 19 ++++++++++--------- 2 files changed, 30 insertions(+), 14 deletions(-) (limited to 'man') diff --git a/man/logind.conf.xml b/man/logind.conf.xml index 96e5936e5e..362a4f6108 100644 --- a/man/logind.conf.xml +++ b/man/logind.conf.xml @@ -207,10 +207,17 @@ These settings control the default control group hierarchies - users logging in are added to. When - logging in users will get private - control groups in all hierarchies - listed in + users logging in are added to, in + addition to the + name=systemd named + hierarchy. These settings take space + separated lists of controller + names. Pass the empty string to ensure + that logind does not touch any + hierarchies but systemd's own. When + logging in user sessions will get + private control groups in all + hierarchies listed in Controllers= and be reset to the root control group in all hierarchies listed in @@ -218,7 +225,15 @@ defaults to the empty list, ResetControllers= defaults to - cpu. + cpu. Note that for + all controllers that are not listed in + either Controllers= + nor + ResetControllers= + newly created sessions will be part of + the control groups of the system + service that created the + session. diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index 12979d81b6..eaa770b4b1 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -107,15 +107,16 @@ DefaultControllers=cpu Configures in which - cgroup controller hierarchies to - create per-service cgroups - automatically, in addition to the - name=systemd named hierarchy. Defaults - to 'cpu'. Takes a space separated list - of controller names. Pass an empty - string to ensure that systemd does not - touch any hierarchies but its - own. + control group hierarchies to create + per-service cgroups automatically, in + addition to the + name=systemd named + hierarchy. Defaults to + cpu. Takes a space + separated list of controller + names. Pass the empty string to ensure + that systemd does not touch any + hierarchies but its own. Note that the default value of 'cpu' will make realtime scheduling -- cgit v1.2.3-54-g00ecf