diff options
author | Charles Boyer <Charles.Boyer@fii-usa.com> | 2021-08-26 23:17:41 +0300 |
---|---|---|
committer | Vivekanand Veeracholan <vveerach@google.com> | 2021-09-01 02:29:08 +0300 |
commit | 39b9c42d60839c91d920561cff6e23df552966a8 (patch) | |
tree | 93df063c881f61a3b9e109d96bc3b50a4edc029e /meta-fii | |
parent | 96e4b26997eb479cadfc8dea6ea0c089608de7e5 (diff) | |
download | openbmc-39b9c42d60839c91d920561cff6e23df552966a8.tar.xz |
meta-fii/meta-kudo: Increase rate-limit for rsyslog
The SEL Record IDs are observed to skip in /var/log/ipmi_sel and
the issue has been traced to the rate-limit of rsyslog. When
messages are dropped due to rate-limiting, some of them are SEL
messages. Phosphor-sel-logger is inserting the Record ID into the
message without checking if previous records make it into ipmi_sel.
This causes the skip in Record IDs.
To prevent SEL messages from being dropped, the rate-limit has been
increased. The side-effect is that more messages are being allowed
within a minute to lower performance.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: Iff015e1f45e7f79f73d1a03d05af88832b6f972d
Diffstat (limited to 'meta-fii')
-rw-r--r-- | meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.conf b/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.conf index 46a287eef..b98610635 100644 --- a/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.conf +++ b/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.conf @@ -8,11 +8,11 @@ # Ported from debian's sysklogd.conf # Journal-style logging -# Limit to no more than 2000 entries in one minute and enable the +# Limit to no more than 4000 entries in one minute and enable the # journal workaround to avoid duplicate entries module(load="imjournal" StateFile="/var/log/state" RateLimit.Interval="60" - RateLimit.Burst="2000") + RateLimit.Burst="4000") # Template for IPMI SEL messages # "<timestamp> <ID>,<Type>,<EventData>,[<Generator ID>,<Path>,<Direction>]" |