From: Kay Sievers Date: Mon, 4 Jun 2012 14:40:31 +0000 (+0200) Subject: udev: limit minimum worker count to 16 X-Git-Tag: v185~4 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=d315bba6f6c9d929acdbf3c37cbcf6c9a72365ac;ds=sidebyside udev: limit minimum worker count to 16 --- diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 229031ccb..8ad1eccac 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1353,9 +1353,9 @@ int main(int argc, char *argv[]) /* set value depending on the amount of RAM */ if (memsize > 0) - children_max = 28 + (memsize / 8); + children_max = 16 + (memsize / 8); else - children_max = 28; + children_max = 16; } log_debug("set children_max to %u\n", children_max);