Hey!
With dbus-broker we have introduced the resource-accounting of bus1
into the D-Bus world. We believe it greatly improves and strengthens
the resource distribution of the D-Bus messages bus, and we have
already found a handful of resource leaks that way. However, it can be
a daunting task to solve resource exhaustion bugs, so I decided to
describe the steps we took to resolve a recent resource-leak in the
openQA package.
You can find more information here:
https://dvdhrm.github.io/2021/04/14/locating-dbus-resource-leaks/
Hopefully, this will be another step towards helping developers debug
these situations. If you have questions on resource accounting in
dbus-broker, or if you face D-Bus resource exhaustion with your
applications, feel free to contact us here on this list, or on github.
David