diff options
author | Franck Bui <fbui@suse.com> | 2018-03-01 10:58:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-03-01 10:58:03 +0100 |
commit | acc8059129b38d60c1b923670863137f8ec8f91a (patch) | |
tree | f6fc8a2529713d6297caec3873529435b5047fd1 /units | |
parent | Merge pull request #8318 from keszybz/doc-tweak (diff) | |
download | systemd-acc8059129b38d60c1b923670863137f8ec8f91a.tar.gz systemd-acc8059129b38d60c1b923670863137f8ec8f91a.tar.bz2 systemd-acc8059129b38d60c1b923670863137f8ec8f91a.zip |
units: delegate "memory" instead of "cpu" by default for user instances (#8320)
CPU accounting has a too bad impact on performance to be enabled by
default. Therefore we should not delegate "cpu" for now.
OTOH since commit e0c46a736412b79b94a21f8512a769b9212b9adf, memory accounting
has been turned on for all units by default so it makes sense to delegate this
controller by default.
Diffstat (limited to 'units')
-rw-r--r-- | units/user@.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/user@.service.in b/units/user@.service.in index e8195acbb..372ffa56d 100644 --- a/units/user@.service.in +++ b/units/user@.service.in @@ -18,6 +18,6 @@ Type=notify ExecStart=-@rootlibexecdir@/systemd --user Slice=user-%i.slice KillMode=mixed -Delegate=pids cpu +Delegate=pids memory TasksMax=infinity TimeoutStopSec=120s |