Control on DBus-daemon virtual memory usage ballooning

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Sep 14 03:03:47 UTC 2020


On Mon, 14 Sep 2020 09:53:03 +1000, Hailun Tan wrote:

> I have changed the D-Bus (session bus) daemon configuration file to
> limit the  "max_incoming_bytes" and "max_outgoing_bytes"  to 5MB each
> as the default configuration file can bring down the whole linux
> system in a couple of minutes if I run the same pressure test on it :(

Just for fun, have you tried doing a prlimit
<https://man7.org/linux/man-pages/man1/prlimit.1.html> on your
session-bus daemon? Maybe see how low the limits are you can put on it
before it crashes. ;)


More information about the dbus mailing list