forked from pool/systemd
Marcus Meissner
3a9ea8f8a3
- Update to new upstream release 227+228 tested boot-on-cryptoroot OBS-URL: https://build.opensuse.org/request/show/345072 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=920
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
---
|
|
src/udev/udevd.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: systemd-227/src/udev/udevd.c
|
|
===================================================================
|
|
--- systemd-227.orig/src/udev/udevd.c
|
|
+++ systemd-227/src/udev/udevd.c
|
|
@@ -568,7 +568,7 @@ static void event_run(Manager *manager,
|
|
|
|
if (hashmap_size(manager->workers) >= arg_children_max) {
|
|
if (arg_children_max > 1)
|
|
- log_debug("maximum number (%i) of children reached", hashmap_size(manager->workers));
|
|
+ log_error("maximum number (%i) of children reached", hashmap_size(manager->workers));
|
|
return;
|
|
}
|
|
|
|
@@ -1672,7 +1672,7 @@ int main(int argc, char *argv[]) {
|
|
arg_children_max = 8;
|
|
|
|
if (sched_getaffinity(0, sizeof(cpu_set), &cpu_set) == 0)
|
|
- arg_children_max += CPU_COUNT(&cpu_set) * 2;
|
|
+ arg_children_max += CPU_COUNT(&cpu_set) * 64;
|
|
|
|
log_debug("set children_max to %u", arg_children_max);
|
|
}
|