b5fed75ed5
- Increase number of children/workers to CPU_COUNT * 256 to avoid 'maximum number of children reached' (bnc#907393). Add 1097-udevd-increase-maximum-number-of-children.patch - Increase number of children/workers to CPU_COUNT * 256 to avoid 'maximum number of children reached' (bnc#907393). Add 1097-udevd-increase-maximum-number-of-children.patch OBS-URL: https://build.opensuse.org/request/show/263284 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=826
23 lines
931 B
Diff
23 lines
931 B
Diff
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;
|
|
+ children_max += CPU_COUNT(&cpu_set) * 256;
|
|
}
|
|
}
|
|
log_debug("set children_max to %u", children_max);
|