Fix journald "Suppressed N messages from" (RateLimitBurst)
"Suppressed N messages from <service>" means journald dropped that service's logs over a rate limit. Check the limit; fix the flood or raise RateLimitBurst.
Between a service's log lines in the journal, you find this one.
Oct 25 11:38:48 server1 systemd-journald[2932]: Suppressed 19 messages from myapp.servicemyapp.service logged too much in a short time, and journald dropped 19 messages over the limit instead of storing them. They are not filled in later. If you are investigating an incident, that time range has a real gap. This is a per-service rate limit, not a disk-space problem (disk usage is covered in shrinking the journal).
[1] Find which service lost how many messages. Search for journald's own line.
# journalctl -b -t systemd-journald --grep SuppressedOct 25 11:38:48 server1 systemd-journald[2932]: Suppressed 19 messages from myapp.serviceThe count is also stored in the N_DROPPED field, which -o verbose shows.
MESSAGE_ID=a596d6fe7bfa4994828e72309e95d61e MESSAGE=Suppressed 19 messages from myapp.service N_DROPPED=19[2] Check the limit in effect. The default is 10000 messages per 30 seconds per service (official docs). To see what is really read, drop-ins included:
# systemd-analyze cat-config systemd/journald.confThe test lowered the limit to 20 messages per 10 seconds; only that part of the output is shown.
[Journal]Storage=volatileRateLimitIntervalSec=10sRateLimitBurst=20The effective limit is not the configured number. According to the official documentation, RateLimitBurst is multiplied by a factor between 1 and 6 derived from the journal's available disk space (1 up to 1MB, 2 up to 16MB, 3 up to 256MB, 4 up to 4GB, 5 up to 64GB, 6 up to 1TB). In the test, with the setting at 20, 81 messages were stored. By the table that looks like the 4x tier (80), but the available space was not measured during the test and the one-message difference is unexplained.
Oct 25 11:38:21 server1 myapp[3066]: request 1 failedOct 25 11:38:21 server1 myapp[3066]: request 81 failedThe test sent 100 messages at once; the first 81 were kept and the other 19 were counted in Suppressed 19 messages. Each service is counted separately.
[3] Know when the line appears. In this test the notice did not appear right after the burst. It was written when the next message from that service arrived after the interval ended, with the same timestamp.
Oct 25 11:38:48 server1 systemd-journald[2932]: Suppressed 19 messages from myapp.serviceOct 25 11:38:48 server1 myapp[3096]: request 101 failedWhat happens if the service goes quiet after the burst was not checked.
[4] Look at why the flood happened before raising the limit. If the same line repeats in an error loop, a higher limit only fills the journal faster.
# journalctl -u myapp.service -b -o cat | sort | uniq -c | sort -rn | head -3If the most repeated sentence is an error, fix the service first. If it is legitimate logging, go on.
[5] Adjust the limit. To change it for everything, add a drop-in file.
[Journal]RateLimitIntervalSec=30sRateLimitBurst=50000To change one service only, set LogRateLimitIntervalSec= and LogRateLimitBurst= in that unit's [Service] section. The official documentation says the unit's values override the journald settings.
How to apply it depends on where you changed it. For the drop-in (journald.conf.d), run systemctl restart systemd-journald. For the unit, run systemctl daemon-reload and then restart that service; that is the usual systemd behavior (neither was run for this post). Restarting a service stops it briefly, so do it in a maintenance window.
To turn the limit off, set either value to 0. In the test, RateLimitIntervalSec=0 stored all 100 messages from the same burst and logged 0 suppression lines.
1000Analyze your syslog · journal log in the browser ↗ — nothing is uploaded.