From: Lennart Poettering Date: Wed, 20 Jan 2016 19:27:21 +0000 (+0100) Subject: logind,machined: bump TasksMax= X-Git-Tag: v229.1~1^2~50 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=68453974ade693ca39fb2c6f08dd88f25d28777c 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 --- diff --git a/src/login/logind.c b/src/login/logind.c index 06d31d7b3..55b280090 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -81,7 +81,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);