2014-11-28 09:06:54 +01:00
|
|
|
Index: systemd-210/src/udev/udevd.c
|
|
|
|
===================================================================
|
|
|
|
--- systemd-210.orig/src/udev/udevd.c
|
|
|
|
+++ systemd-210/src/udev/udevd.c
|
|
|
|
@@ -454,7 +454,7 @@ static void event_run(struct event *even
|
|
|
|
|
|
|
|
if (children >= children_max) {
|
|
|
|
if (children_max > 1)
|
|
|
|
- log_debug("maximum number (%i) of children reached", children);
|
|
|
|
+ log_error("maximum number (%i) of children reached", children);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1277,7 +1277,7 @@ int main(int argc, char *argv[]) {
|
|
|
|
children_max = 8;
|
|
|
|
|
|
|
|
if (sched_getaffinity(0, sizeof (cpu_set), &cpu_set) == 0) {
|
|
|
|
- children_max += CPU_COUNT(&cpu_set) * 2;
|
2014-11-28 14:28:32 +01:00
|
|
|
+ children_max += CPU_COUNT(&cpu_set) * 64;
|
2014-11-28 09:06:54 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
log_debug("set children_max to %u", children_max);
|