summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-20 20:27:21 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-25 15:59:39 +0100
commitcf7d1a30e44bf380027a2e73f9bf13f423a33cc1 (patch)
tree8ed0e586359c7f033a7d549a505604b98777540f /src/login
parent147d3751d8279bcc294721ec115961e7a7565239 (diff)
logind,machined: bump TasksMax=
Issue #2388 suggests the current TasksMax= setting for user processes is to low. Bump it to 12K. Also, bump the container TasksMax= from 8K to 16K, so that it remains higher than the one for user processes. (Compare: the kernel default limit for processes system-wide is 32K). Fixes #2388
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 79ea5ddfcb..9723e2f4e0 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -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_C(4096);
+ m->user_tasks_max = UINT64_C(12288);
m->devices = hashmap_new(&string_hash_ops);
m->seats = hashmap_new(&string_hash_ops);