]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: bump TasksMax to inifinity (#3593)
authorFranck Bui <fbui@suse.com>
Thu, 23 Jun 2016 20:31:01 +0000 (22:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Jun 2016 20:31:01 +0000 (22:31 +0200)
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.

units/systemd-udevd.service.in

index 79f28c87c6a551cb89ef3f0f6f05f13ce909abc9..67e4c5fcd7285652aa8e89aafb67ff1256544d9a 100644 (file)
@@ -24,3 +24,4 @@ ExecStart=@rootlibexecdir@/systemd-udevd
 MountFlags=slave
 KillMode=mixed
 WatchdogSec=3min
+TasksMax=infinity