Bug 1022517 - rate limiting does not work as expected
rate limiting does not work as expected
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rsyslog (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Tomas Heinrich
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2013-10-23 08:59 EDT by Dalibor Pospíšil
Modified: 2016-09-20 00:51 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-10 08:45:35 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dalibor Pospíšil 2013-10-23 08:59:37 EDT
Description of problem:
Rate limiting does not work. See /CoreOS/rsyslog/Sanity/bz672182-RFE-Provide-rate-limiting-support http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2013/10/5211/521186/1091577/16524460/TESTOUT.log

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. # cat >>/etc/rsyslog.conf <<EOF
\$SystemLogRateLimitInterval 5
\$SystemLogRateLimitBurst 10
local2.*   /var/log/local2
2. # service rsyslog restart
3. # (for i in `seq 1 80`; do
            echo "testnumber$i"
            sleep 0.1s
          done) | logger -p local2.error

Actual results:
80 messages logged

Expected results:
20 messages logged
Comment 2 Tomas Heinrich 2013-12-05 09:39:29 EST
Just a note:

In rsyslog 7.4.2, the messages aren't read from the system log socket. They are read directly from journal and therefore instead of


you'll have to use


Please, give this a try and perhaps close this as not-a-bug.
Comment 3 Dalibor Pospíšil 2013-12-10 08:45:35 EST
I have fixed the test so for RHEL-7 it uses ImjournalRateLimit and ti work correctly.

Note You need to log in before you can comment on or make changes to this bug.