Skip to content

journald: silent loss of messages #6

@kmarinushkin

Description

@kmarinushkin

Currently, systemd-journald may lose messages silently in some cases of
the reached rate limit. The expected behavior is to always log
"Suppressed ... messages".

Steps to reproduce:

  1. Configuration:
RateLimitInterval=4s
RateLimitBurst=16
  1. Script:
$ echo 'line 0' > lines.txt
$ for i in $(seq 1 1023); do echo "line $i" >> lines.txt; done
$ for i in $(seq 0 1023); do logger -f lines.txt; done
$ journalctl | less
<...>
May 23 05:00:53 target root[3312]: line 1022
May 23 05:00:53 target root[3312]: line 1023
May 23 05:00:53 target root[3313]: line 766
May 23 05:00:53 target root[3313]: line 767
<...>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions