X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fudev%2Fudevd.c;h=8ad1eccac14a573eef077bdc844d64a3053248db;hb=d315bba6f6c9d929acdbf3c37cbcf6c9a72365ac;hp=790531022c08d3e7d8186463d6c5218b0800b4aa;hpb=0f9963a8b8c1d60a467c0cdc04d5e7bfce9d7c75;p=elogind.git diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 790531022..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 = 128 + (memsize / 8); + children_max = 16 + (memsize / 8); else - children_max = 128; + children_max = 16; } log_debug("set children_max to %u\n", children_max);