Skip to main content
14 events
when toggle format what by license comment
Nov 12, 2023 at 20:41 comment added Jonathan W. I couldn't get it to trigger a rotate using either method, but the vacuum proposed in another answer worked. I'll see if it continues to get bigger than the SystemMaxUse I set. (Previously it was unset, and there were 3.9GB of logs—essentially in line with the default cap.)
Apr 9, 2023 at 12:39 comment added alper Will 50M be enough for journal?
Aug 31, 2021 at 15:45 review Suggested edits
Sep 1, 2021 at 16:14
Feb 11, 2020 at 3:10 history edited slm CC BY-SA 4.0
deleted 1 character in body
Feb 11, 2020 at 3:05 comment added slm @BenJohnson might be this bug - bugs.launchpad.net/ubuntu/+source/systemd/+bug/1790205
Feb 11, 2020 at 2:55 comment added Ben Johnson On my system (Ubuntu 16.04 LTS), SystemMaxUse=1024MB appears in /etc/systemd/journald.conf and is un-commented, but journalctl --disk-usage reports Archived and active journals take up 4.0G on disk. Am I missing something?
May 17, 2019 at 4:51 comment added Aravind The about said journalctl solution even works in ubuntu 18
Mar 29, 2018 at 13:08 comment added joelostblom To clean logs after a period of time rather than when they reach a certain size, you can set the parameter MaxRetentionSec instead of SystemMaxUse. See man journald.conf for more details.
May 9, 2015 at 12:56 comment added slm @michaelbn - the signalling has/had worked for me in the past. I haven't had to do this that often though, so I've incorporated the restart method into the answer as well in case other readers have that same issue as you.
May 9, 2015 at 12:55 history edited slm CC BY-SA 3.0
added 224 characters in body
May 9, 2015 at 8:24 comment added Michael Ben-Nes Same here, systemctl restart systemd-journald.service forced the rotate and not signaling the process
May 18, 2014 at 17:11 vote accept hgajshb
May 18, 2014 at 6:07 history edited slm CC BY-SA 3.0
added 517 characters in body
May 18, 2014 at 5:55 history answered slm CC BY-SA 3.0