mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
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 e0c46a7364
, memory accounting
has been turned on for all units by default so it makes sense to delegate this
controller by default.
This commit is contained in:
parent
fba03e3ab4
commit
acc8059129
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue