]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
core: change TasksMax= default for system services to 15%
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 15:29:00 +0000 (17:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Jul 2016 13:33:13 +0000 (15:33 +0200)
commit79baeeb96d58676853521e10a358e85d83dac7f1
tree624286c53e21bc38cd081c7ed806d2607952cfb2
parentc06eec15d5816236c11e35b35e444f62f37b6ef6
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
man/systemd-system.conf.xml
src/core/main.c
src/core/manager.c
src/core/system.conf