summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2016-06-23 22:31:01 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-23 22:31:01 +0200
commitde2edc008a612e152f0690d5063d53001c4e13ff (patch)
tree344cfe49b270a0a7cf7ee34585024d6dfbf01e35 /units
parent3ade16c9c842bb18a5c0edb56ed8153c250ddeaf (diff)
udev: bump TasksMax to inifinity (#3593)
udevd already limits its number of workers/children: the max number is actually twice the number of CPUs the system is using. (The limit can also be raised with udev.children-max= kernel command line option BTW). On some servers, this limit can easily exceed the maximum number of tasks that systemd put on all services, which is 512 by default. Since udevd has already its limitation logic, simply disable the static limitation done by TasksMax.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-udevd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index 79f28c87c6..67e4c5fcd7 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -24,3 +24,4 @@ ExecStart=@rootlibexecdir@/systemd-udevd
MountFlags=slave
KillMode=mixed
WatchdogSec=3min
+TasksMax=infinity