Bug#837642: systemd-journald: "current limit" is wrong, SystemMaxUse and SystemKeepFree is not being respected

Vektor vekt0r7 at gmx.net
Tue Sep 13 10:21:50 BST 2016


Package: systemd
Version: 215-17+deb8u4
Severity: important

Dear Maintainer,

systemd-journald is deleting log messages when it shouldn't, it is not respecting SystemMaxUse and SystemKeepFree as configured in /etc/systemd/journald.conf

   * What led up to the situation?
editing /etc/systemd/journald.conf
Storage=persistent
SystemMaxUse=750M
SystemKeepFree=50M

This is the current state of disk space:
$ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sda1       4,6G    3,9G  424M   91% /

   * What was the outcome of this action?
$ systemctl status systemd-journald
systemd-journal[1086]: Permanent journal is using 504.1M (max allowed 750.0M, trying to leave 50.0M free of 451.2M available → current limit 504.1M)

   * What outcome did you expect instead?
I expect that systemd-journald would set the "current limit" in a way that leaves 50.0M of free space. The way the "current limit" is being calculated seems to be broken at the moment.

Regards
v



-- Package-specific info:

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-59
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-6
ii  libc6           2.19-18+deb8u4
ii  libcap2         1:2.24-8
ii  libcap2-bin     1:2.24-8
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.3-2+deb8u2
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1+deb8u1+b1
ii  libselinux1     2.3-2
ii  libsystemd0     215-17+deb8u4
ii  mount           2.25.2-6
ii  sysv-rc         2.88dsf-59
ii  udev            215-17+deb8u4
ii  util-linux      2.25.2-6

Versions of packages systemd recommends:
ii  dbus            1.8.20-0+deb8u1
ii  libpam-systemd  215-17+deb8u4

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]
Storage=persistent
SystemMaxUse=750M
SystemKeepFree=50M


-- no debconf information



More information about the Pkg-systemd-maintainers mailing list