mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
logind: change default to UserTasksMax= to 4096
This commit is contained in:
parent
9ded9cd14c
commit
a5bc6e5450
@ -288,7 +288,7 @@
|
||||
<varname>TasksMax=</varname> setting of the per-user slice
|
||||
unit, see
|
||||
<citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>
|
||||
for details.</para></listitem>
|
||||
for details. Defaults to 4096.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
|
@ -70,7 +70,7 @@ static Manager *manager_new(void) {
|
||||
m->idle_action_not_before_usec = now(CLOCK_MONOTONIC);
|
||||
|
||||
m->runtime_dir_size = PAGE_ALIGN((size_t) (physical_memory() / 10)); /* 10% */
|
||||
m->user_tasks_max = (uint64_t) -1;
|
||||
m->user_tasks_max = UINT64_C(4096);
|
||||
|
||||
m->devices = hashmap_new(&string_hash_ops);
|
||||
m->seats = hashmap_new(&string_hash_ops);
|
||||
|
@ -32,4 +32,4 @@
|
||||
#IdleActionSec=30min
|
||||
#RuntimeDirectorySize=10%
|
||||
#RemoveIPC=yes
|
||||
#UserTasksMax=
|
||||
#UserTasksMax=4096
|
||||
|
Loading…
Reference in New Issue
Block a user