mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-08 05:57:26 +03:00
man: clarify how to configure default control group hierarchies for services and sessions
This commit is contained in:
parent
4e7bc3f339
commit
3ae0c5e189
@ -207,10 +207,17 @@
|
|||||||
|
|
||||||
<listitem><para>These settings control
|
<listitem><para>These settings control
|
||||||
the default control group hierarchies
|
the default control group hierarchies
|
||||||
users logging in are added to. When
|
users logging in are added to, in
|
||||||
logging in users will get private
|
addition to the
|
||||||
control groups in all hierarchies
|
<literal>name=systemd</literal> named
|
||||||
listed in
|
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
|
||||||
<varname>Controllers=</varname> and be
|
<varname>Controllers=</varname> and be
|
||||||
reset to the root control group in all
|
reset to the root control group in all
|
||||||
hierarchies listed in
|
hierarchies listed in
|
||||||
@ -218,7 +225,15 @@
|
|||||||
defaults to the empty list,
|
defaults to the empty list,
|
||||||
<varname>ResetControllers=</varname>
|
<varname>ResetControllers=</varname>
|
||||||
defaults to
|
defaults to
|
||||||
<literal>cpu</literal>.</para></listitem>
|
<literal>cpu</literal>. Note that for
|
||||||
|
all controllers that are not listed in
|
||||||
|
either <varname>Controllers=</varname>
|
||||||
|
nor
|
||||||
|
<varname>ResetControllers=</varname>
|
||||||
|
newly created sessions will be part of
|
||||||
|
the control groups of the system
|
||||||
|
service that created the
|
||||||
|
session.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -107,15 +107,16 @@
|
|||||||
<term><varname>DefaultControllers=cpu</varname></term>
|
<term><varname>DefaultControllers=cpu</varname></term>
|
||||||
|
|
||||||
<listitem><para>Configures in which
|
<listitem><para>Configures in which
|
||||||
cgroup controller hierarchies to
|
control group hierarchies to create
|
||||||
create per-service cgroups
|
per-service cgroups automatically, in
|
||||||
automatically, in addition to the
|
addition to the
|
||||||
name=systemd named hierarchy. Defaults
|
<literal>name=systemd</literal> named
|
||||||
to 'cpu'. Takes a space separated list
|
hierarchy. Defaults to
|
||||||
of controller names. Pass an empty
|
<literal>cpu</literal>. Takes a space
|
||||||
string to ensure that systemd does not
|
separated list of controller
|
||||||
touch any hierarchies but its
|
names. Pass the empty string to ensure
|
||||||
own.</para>
|
that systemd does not touch any
|
||||||
|
hierarchies but its own.</para>
|
||||||
|
|
||||||
<para>Note that the default value of
|
<para>Note that the default value of
|
||||||
'cpu' will make realtime scheduling
|
'cpu' will make realtime scheduling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user