diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-07-19 17:29:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-22 15:33:13 +0200 |
commit | 79baeeb96d58676853521e10a358e85d83dac7f1 (patch) | |
tree | 624286c53e21bc38cd081c7ed806d2607952cfb2 /src/core/system.conf | |
parent | c06eec15d5816236c11e35b35e444f62f37b6ef6 (diff) |
core: change TasksMax= default for system services to 15%
As it turns out 512 is max number of tasks per service is hit by too many
applications, hence let's bump it a bit, and make it relative to the system's
maximum number of PIDs. With this change the new default is 15%. At the
kernel's default pids_max value of 32768 this translates to 4915. At machined's
default TasksMax= setting of 16384 this translates to 2457.
Why 15%? Because it sounds like a round number and is close enough to 4096
which I was going for, i.e. an eight-fold increase over the old 512
Summary:
| on the host | in a container
old default | 512 | 512
new default | 4915 | 2457
Diffstat (limited to 'src/core/system.conf')
-rw-r--r-- | src/core/system.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/system.conf b/src/core/system.conf index db8b7acd78..c6bb050aac 100644 --- a/src/core/system.conf +++ b/src/core/system.conf @@ -42,7 +42,7 @@ #DefaultBlockIOAccounting=no #DefaultMemoryAccounting=no #DefaultTasksAccounting=yes -#DefaultTasksMax=512 +#DefaultTasksMax=15% #DefaultLimitCPU= #DefaultLimitFSIZE= #DefaultLimitDATA= |