1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

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.
This commit is contained in:
Franck Bui 2016-06-23 22:31:01 +02:00 committed by Lennart Poettering
parent 3ade16c9c8
commit de2edc008a

View File

@ -24,3 +24,4 @@ ExecStart=@rootlibexecdir@/systemd-udevd
MountFlags=slave MountFlags=slave
KillMode=mixed KillMode=mixed
WatchdogSec=3min WatchdogSec=3min
TasksMax=infinity