Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

journald "Suppressed N messages from": log lines lost to the rate limit and how to size it

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A journal entry such as Suppressed 50000 messages from app.service is written by systemd-journald itself. It tells you that the service logged more lines than the rate limit allows in the checking interval, and that journald discarded the extra lines instead of storing them. By default the limit is 10000 messages in 30 seconds per service, multiplied by a factor that depends on free disk space. The real logging rate decides between quieting the service and raising the limit, and the steps below measure it first.

What the symptom means

The journald.conf manual describes RateLimitIntervalSec= and RateLimitBurst=. If, in the interval, "more messages than specified in RateLimitBurst= are logged by a service, all further messages within the interval are dropped until the interval is over. A message about the number of dropped messages is generated." The limit is applied per service, so two services do not share a limit. The manual gives the default as 10000 messages in 30s, and says setting either value to 0 turns off rate limiting.

The effective burst is larger than the setting on most servers. The manual says it "is multiplied by a factor derived from the available free disk space for the journal", and shows an example table: a multiplier of 1 for up to 1MB free, 2 for up to 16MB, 3 for up to 256MB, 4 for up to 4GB, 5 for up to 64GB and 6 for up to 1TB.

Per-service overrides exist. The systemd.exec manual says LogRateLimitIntervalSec= and LogRateLimitBurst= configure the rate limit for the messages of that unit, that the defaults come from journald.conf, and that the limit applies only to messages processed by systemd-journald. A service whose stderr is connected "directly to a file via StandardOutput=file:..." is not rate-limited that way. Values set per unit override the global ones.

Reading the code at tag v255, the line text is Suppressed %i messages from %s with the unit name (src/journal/journald-server.c). The rate-limit code (src/journal/journald-rate-limit.c) keeps five separate counters per service: emergency, alert and critical share one; errors have one; warnings have one; notice and info share one; and debug has one (priority_map). A burst of debug lines therefore does not use up the budget for errors. The test runs before the message is stored or forwarded, so a suppressed message does not reach the journal files or a forwarding syslog daemon. This is a reading of the code, not a statement in a manual.

This is a different fault from a journal that fills the disk, which the guide Journal logs filling the disk: how to limit /var/log/journal and vacuum it safely covers.

Likely causes

Cause What you see How to confirm
A service logs faster than the limit allows Suppressed N messages from app.service during busy periods Count the unit's messages per second against the effective limit (see arithmetic below)
A loop or fault floods the log, such as the same error repeating The suppressed lines are copies of one message journalctl -u app.service shows the same text repeating
Debug logging was turned on Many debug-level lines Check the service's log level; journalctl -p debug shows the levels
The free-space multiplier is low on a nearly full disk Suppression starts at a lower rate than expected df -h for the journal's file system; compare with the manual's table
A per-unit LogRateLimit value overrides the global one Global changes have no effect on that service systemctl cat app.service shows LogRateLimitBurst= or LogRateLimitIntervalSec=

Prove the cause before changing anything

All of these only read.

1. Find the suppression lines.

journalctl -g 'Suppressed [0-9]+ messages from' --since "2026-12-01 00:00:00"

The journalctl manual says -g filters entries whose message matches a regular expression and --since takes a date in the form shown. Note the unit name and the counts.

2. Check for per-unit settings.

systemctl cat app.service

Look for LogRateLimitIntervalSec= and LogRateLimitBurst=.

3. Check the global settings and drop-ins.

grep -Rn -i 'RateLimit' /etc/systemd/journald.conf /etc/systemd/journald.conf.d/

The journald.conf manual lists /etc/systemd/journald.conf.d/*.conf among the files it reads, with drop-ins taking precedence over the main file. No output means the defaults apply.

4. Measure the real rate.

journalctl -u app.service --since "2026-12-01 09:00:00" --until "2026-12-01 09:00:30" --no-pager | wc -l

The result, minus any header lines, is the number of stored messages in 30 seconds. Remember that it counts only what was kept. Add the suppressed count from step 1 for the same window to get the number the service tried to log.

5. Do the arithmetic. With the default 10000 per 30 s and a multiplier of 4 (4 GiB free, which is 2^32 bytes; the source takes the base 2 logarithm, 32, and computes (32 - 16) / 4 = 4, which agrees with the manual's example table), the effective burst is 10000 x 4 = 40000 messages per 30 s, which is 40000 / 30 = 1,333 messages per second. A service that logs faster than that for the whole interval loses the rest.

Fix

Quieten the source

If the service writes the same error thousands of times, fixing that error or lowering the log level removes the loss and the disk use together. Prefer this to raising limits.

Raise the limit for one service

First save the unit as systemd sees it and list any existing drop-in folder:

systemctl cat app.service > app.service-cat-before.2026-12-01.txt
ls -l /etc/systemd/system/app.service.d/

Risk: the next command creates a drop-in file for app.service that raises its log rate limit, so the service can write more to the journal and use more disk space and more journald CPU time.

Edit a drop-in with a name of its own. The systemctl manual says edit reloads the configuration afterwards and that --drop-in= sets the file name. The systemctl page marks --drop-in= as added in version 253, so it needs systemd 253 or later; check with systemctl --version:

systemctl edit --drop-in=log-rate.conf app.service

In the editor, enter values that cover the rate you measured, with margin. This example keeps the 30-second interval and raises the burst to 100000, which is 3,333 messages per second:

[Service]
LogRateLimitIntervalSec=30s
LogRateLimitBurst=100000

Check the result with systemctl cat app.service.

Disruptive step: the next command restarts app.service, which stops it and starts it again, so connections to it are dropped.

Restart it in a maintenance window so the new limit applies:

systemctl restart app.service

To undo it, check that the file is the one you created, remove only that file, reload, restart, and compare with the saved text.

Disruptive step: the next commands remove the drop-in and restart app.service, which stops it and starts it again, so connections to it are dropped.

ls -l /etc/systemd/system/app.service.d/log-rate.conf
rm /etc/systemd/system/app.service.d/log-rate.conf
systemctl daemon-reload
systemctl restart app.service
systemctl cat app.service

The last command should match app.service-cat-before.2026-12-01.txt. If systemctl cat showed a different path for the drop-in, use that path.

Change the global default

Only when many services hit the limit. First save the main file and the drop-in listing:

cp -p /etc/systemd/journald.conf /etc/systemd/journald.conf.2026-12-01
ls -l /etc/systemd/journald.conf.d/

Risk: the next edit changes the limit for every service on the server, and the restart after it interrupts journald briefly. A higher global limit lets a runaway service fill the journal faster.

Create /etc/systemd/journald.conf.d/50-ratelimit.conf with an editor. The manual recommends drop-ins over editing the main file:

[Journal]
RateLimitIntervalSec=30s
RateLimitBurst=20000

Disruptive step: the next command restarts systemd-journald, which interrupts logging for a moment.

The systemd-journald.service manual says it is safe to restart the service with systemctl restart, and that stopping it is not recommended:

systemctl restart systemd-journald.service

To back out, remove only the file you created and restart journald; the main file saved above was not edited.

Disruptive step: the next commands remove the drop-in file and restart systemd-journald, which interrupts logging for a moment.

ls -l /etc/systemd/journald.conf.d/50-ratelimit.conf
rm /etc/systemd/journald.conf.d/50-ratelimit.conf
systemctl restart systemd-journald.service

Example (illustrative): On web01, journalctl -g 'Suppressed [0-9]+ messages from' shows Suppressed 50000 messages from app.service every few minutes in the evening peak. systemctl cat app.service has no LogRateLimit lines and /etc/systemd/journald.conf.d/ is empty, so the defaults apply. With 4 GiB free, the multiplier is 4 and the effective burst is 40000 per 30 s (1,333 per second). The service logs about 3,000 lines per second at the peak, which is 3,000 x 30 = 90,000 per interval, so 90,000 - 40,000 = 50,000 are suppressed. The team first removes a repeating warning, which cuts the peak to about 1,000 lines per second (30,000 per interval, under the limit), and no longer needs to change the limit.

Confirm the fix

  1. journalctl -g 'Suppressed [0-9]+ messages from app.service' --since "2026-12-01 12:00:00" returns nothing for a period that includes the peak.
  2. systemctl cat app.service shows the drop-in you intended, and no other.
  3. journalctl --disk-usage shows journal growth that your retention settings can hold.

What to watch afterwards

  • Journal growth: higher limits mean more data; the vacuum and size settings in the guide on journal disk use apply.
  • A rising peak rate after releases, which signals new log noise.
  • Collectors and syslog forwarding only see what journald stored, so a suppressed period is a gap on the central server too.

Risks and limits

  • These commands have not been run or lab-tested.
  • Suppressed messages are not recoverable. The count is the only record that they existed.
  • The multiplier table in the manual is an example, and the source computes the factor from free space with a base 2 logarithm, so the real value can differ from the table at the edges.
  • Setting either rate-limit value to 0 disables limiting, according to the manual, and can let one service flood the journal.
  • Defaults and option names are from a development snapshot of the manual; check man journald.conf on the server.

Sources