# /var/log/journal clean up issue?

**URL:** <https://forums.suse.com/t/var-log-journal-clean-up-issue/32239>\
**Category:** SLES Configure-Administer\
**Created:** [April 4, 2018, 6:40pm UTC](https://forums.suse.com/t/var-log-journal-clean-up-issue/32239 "2018-04-04T18:40:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [April 4, 2018, 6:40pm UTC](https://forums.suse.com/t/var-log-journal-clean-up-issue/32239/1 "2018-04-04T18:40:21Z")

</div>

Hey,

In /etc/systemd/journal.conf I have  
[Journal]  
SystemMaxUse=600M  
SystemMaxFileSize=30M

but

du -sh journal  
3.0G journal

It is obviously not following the config file. When I try journalctl --vacuum-size=500M  
I get

Vacuuming done, freed 0B of archived journals on disk.

I would prefer that this get cleaned up by the system, not me using a find command to remove files older than 40 or 60 days.

Any suggestions?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [April 4, 2018, 8:02pm UTC](https://forums.suse.com/t/var-log-journal-clean-up-issue/32239/2 "2018-04-04T20:02:31Z")

</div>

journalctl --list-boot  
-4 6b0c57d3c3604103ae2bad0473119d10 Mon 2017-12-18 14:51:04 ESTâMon 2017-12-18 1  
-3 c5c29bf23d4b47a6bea21b79b105c402 Tue 2018-02-20 14:11:30 ESTâTue 2018-02-20 1  
-2 e57308674c6b4fc0a77c63504ce4682c Tue 2018-03-27 16:17:20 EDTâTue 2018-03-27 1  
-1 4d5dcd18827b40a58e5af4606039b8a3 Tue 2018-04-03 15:12:28 EDTâTue 2018-04-03 1  
0 5e1f0baa99b3463395098ee4d0b31639 Wed 2018-04-04 11:29:06 EDTâWed 2018-04-04 1

So I removed all earlier files than 2 days ago… it seems to have misplaced them…

Hopefully this will have removed the “lost” files, and it will keep track of the boot logs correctly…

Matt
