diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-15 12:49:38 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-15 12:49:38 +0200 |
commit | 9057b1ccfb0a7fb51eb9b8d6c9dfbd81547a7754 (patch) | |
tree | 87337a8863acd9bace595cfc44f7f3b5682c2e32 /runtime/srutils.c | |
parent | f0f1a53a1650eb00e8f071d269bbe63bca285169 (diff) | |
download | rsyslog-9057b1ccfb0a7fb51eb9b8d6c9dfbd81547a7754.tar.gz rsyslog-9057b1ccfb0a7fb51eb9b8d6c9dfbd81547a7754.tar.bz2 rsyslog-9057b1ccfb0a7fb51eb9b8d6c9dfbd81547a7754.zip |
imjournal: add ratelimiting capability
The original imjournal code did not support ratelimiting at all. We
now have our own ratelimiter. This can mitigate against journal
database corruption, when the journal re-sends old data. This is a
current bug in systemd journal, but we won't outrule this to happen
in the future again. So it is better to have a safeguard in place.
By default, we permit 20,000 messages witin 10 minutes. This may
be a bit restrictive, but given the risk potential it seems reasonable.
Users requiring larger traffic flows can always adjust the value.
Diffstat (limited to 'runtime/srutils.c')
0 files changed, 0 insertions, 0 deletions