[systemd-devel] stress test on systemd/dbus
Lennart Poettering
lennart at poettering.net
Fri Dec 13 11:00:56 UTC 2024
On Fr, 13.12.24 10:02, Yan, Haixiao (CN) (haixiao.yan.cn at windriver.com) wrote:
> Hi,
>
> I have a stress test on systemd/dbus, after 17h, dbus-daemon is sleeping and
> the context switching stops (voluntary_ctxt_switches stop
> increasing).
You cannot really do that. D-Bus puts rate limits on connections:
clients which queue too much and don't process things quickly enough
will get kicked off the bus. This means slight variations in process
scheduling create a chance your process will be kicked off the bus,
and then you are fucked.
Or to say this differently: if you stress test D-Bus then a DoS is
considered a *feature*, not a *bug*.
Also, maybe don't focus on finding issues with almost 5y old software
if you are looking for help from upstream. There's a good chance
current versions fixed various issues/raised limits that make your
issues go away. If you use very old versions, then please ask the
maintainer of that old version for help, not us upstream.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list