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)
commitde2edc008a612e152f0690d5063d53001c4e13ff
tree344cfe49b270a0a7cf7ee34585024d6dfbf01e35
parent3ade16c9c842bb18a5c0edb56ed8153c250ddeaf
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.
units/systemd-udevd.service.in