logind: change default to UserTasksMax= to 4096

This commit is contained in:
Lennart Poettering 2015-11-13 19:32:37 +01:00
parent 9ded9cd14c
commit a5bc6e5450
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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);

View file

@ -32,4 +32,4 @@
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#UserTasksMax=
#UserTasksMax=4096