You are not logged in.
I have SystemMaxUse set in a local configuration file:
# cat /etc/systemd/journald.conf.d/local.conf
SystemMaxUse=32M
SystemMaxFileSize=4M
MaxRetentionSec=4week
But the journald status says that max allowed is 1.5G, which is significantly more than 32M
# systemctl status systemd-journald
● systemd-journald.service - Journal Service
Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static; vendor preset: disabled)
Active: active (running) since Sun 2015-03-15 16:18:27 AEDT; 1min 19s ago
Docs: man:systemd-journald.service(8)
man:journald.conf(5)
Main PID: 17292 (systemd-journal)
Status: "Processing requests..."
CGroup: /system.slice/systemd-journald.service
└─17292 /usr/lib/systemd/systemd-journald
Mar 15 16:18:27 apoc.localdomain systemd-journal[17292]: Permanent journal is using 1.1G (max allowed 1.5G, trying to leave 2.3G free of 7.8G available → current limit 1.5G).
Mar 15 16:18:27 apoc.localdomain systemd-journal[17292]: Journal started
And my journal files are getting huge -- mainly an issue because it also makes journalctl slooowwww:
# journalctl --disk-usage
Archived and active journals take up 1.1G on disk.
What am I missing here?
EDIT: putting the config directly in /etc/systemd/journald.conf and restarting journal works perfectly, so it just seems the include directory is being ignored?
Last edited by fukawi2 (2015-03-15 22:02:56)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I'm using /etc/systemd/journald.conf and it works.
I don't have /etc/systemd/journald.conf.d/ .
Offline
All options are configured in the "[Journal]" section
so your conf.d snippet needs [Journal] at the top too.
Offline
I have been able to reproduce this (annoying) problem and have submitted a bug report to they systemd bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=89581
Regards,
Offline
so your conf.d snippet needs [Journal] at the top too.
Well that's frustrating -- thanks, all good now
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks, I can confirm that adding the [Journald] "header" does make this work. (I don't have an account on their BT so can't comment)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I asked that bug be closed.
Offline