summaryrefslogtreecommitdiffstats
path: root/src/shared/dissect-image.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2018-04-07 17:33:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-07 17:33:48 +0200
commite438c57a640ac5afba366531be5e456b9fe22672 (patch)
treebf05197083bf8ff2bc692e2f0c9a24f2f044228f /src/shared/dissect-image.c
parentClarify checker/helper in systemd-fsck@.service manpage (#8674) (diff)
downloadsystemd-e438c57a640ac5afba366531be5e456b9fe22672.tar.xz
systemd-e438c57a640ac5afba366531be5e456b9fe22672.zip
systemd-udevd: limit children-max by available memory (#8668)
Udev workers consume typically 50-100MiB virtual memory. On systems with lots of CPUs and relatively low memory, that may easily cause workers to be OOM-killed. This patch limits the number of workers to 8 per GiB memory. But don't let the limit drop below the smallest value we had without this patch (8 + 1 * 2 = 10); on small systems, udev's memory footprint is likely lower.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions