[systemd-devel] possible to detect journald rate limiting?
Lennart Poettering
lennart at poettering.net
Thu Apr 2 02:43:21 PDT 2015
On Mon, 23.03.15 20:09, Chris Morgan (chmorgan at gmail.com) wrote:
> Hello.
>
> I have a journal test that fails periodically. When observing the test
> with journalctl -f in the cases that fail I don't see any journal
> entries from the journalctl -f. I'm wondering if I'm hitting rate
> limiting here on F21 (systemd 216).
>
> Is there some way to detect at the application that I'm being rate
> limited? I'm getting 0 back from sd_journal_sendv(). Or some other
> mechanism to detect?
No, delivery to the journal is asynchronous, and there is no
client-side rate limiting applied, hence the client side doesn't have
any information about rate limiting at all.
The server side shows after each applied ratelimiting that it applied
some ratelimiting.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list