Re: stress test on systemd/dbus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 13.12.24 10:02, Yan, Haixiao (CN) (haixiao.yan.cn@xxxxxxxxxxxxx) 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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux