2015-03-27 09:39:40 +01:00
|
|
|
---
|
|
|
|
src/udev/udevd.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
Index: systemd-218/src/udev/udevd.c
|
2014-12-03 22:49:55 +01:00
|
|
|
===================================================================
|
2015-03-27 09:39:40 +01:00
|
|
|
--- systemd-218.orig/src/udev/udevd.c
|
|
|
|
+++ systemd-218/src/udev/udevd.c
|
|
|
|
@@ -446,7 +446,7 @@ static void event_run(struct event *even
|
2014-12-03 22:49:55 +01:00
|
|
|
|
2015-03-27 09:39:40 +01:00
|
|
|
if (children >= arg_children_max) {
|
|
|
|
if (arg_children_max > 1)
|
2014-12-03 22:49:55 +01:00
|
|
|
- log_debug("maximum number (%i) of children reached", children);
|
|
|
|
+ log_error("maximum number (%i) of children reached", children);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2015-03-27 09:39:40 +01:00
|
|
|
@@ -1265,7 +1265,7 @@ int main(int argc, char *argv[]) {
|
|
|
|
arg_children_max = 8;
|
2014-12-03 22:49:55 +01:00
|
|
|
|
|
|
|
if (sched_getaffinity(0, sizeof (cpu_set), &cpu_set) == 0) {
|
2015-03-27 09:39:40 +01:00
|
|
|
- arg_children_max += CPU_COUNT(&cpu_set) * 2;
|
|
|
|
+ arg_children_max += CPU_COUNT(&cpu_set) * 64;
|
2014-12-03 22:49:55 +01:00
|
|
|
}
|
|
|
|
}
|
2015-03-27 09:39:40 +01:00
|
|
|
log_debug("set children_max to %u", arg_children_max);
|