[systemd-devel] Disabled event sources / errors on sd-bus break the event loop (Looping too fast)
Krzysztof Kotlenga
k.kotlenga at sims.pl
Tue Sep 29 07:27:33 PDT 2015
David Herrmann wrote:
> Krzysztof Kotlenga wrote:
>> David Herrmann wrote:
>>> Krzysztof Kotlenga wrote:
>>
>> Some more or less minor points still stand though:
>>
>> - errored/disabled bus-inputs are never freed, even after client
>> disconnect (!)
>
> What's a "bus-input"?
sd_bus.input_io_event_source sd_event_sources have a description set to
"bus-input" to aid debugging:
https://github.com/systemd/systemd/blob/v226/src/libsystemd/sd-bus/sd-bus.c#L3180
For example this return path:
https://github.com/systemd/systemd/blob/v226/src/libsystemd/sd-bus/sd-bus.c#L2782
It's easy to "exercise" it with netcat (generate -EIO there), as I
wrote before. Such sd_event_source gets disabled but it doesn't go
anywhere, even after client disconnect.
--
kjk
More information about the systemd-devel
mailing list