SystemMaxUse=500G not working

I have SystemMaxUse=500G in journald.conf.

I rebooted.

Yet, journalctl --disk-usage
Archived and active journals take up 1.1G in the file system.

What is that?

UM22.04
Don't understand at all. In my system it has #SystemMaxUse= and journalctl --disk-usage shows the same as yours.

Just curious what value 500G is supposed to reference.

Edit:
maybe not sure what

refers to.

FYI

https://andreaskaris.github.io/blog/linux/setting-journalctl-limits/

I used this to reduce the size to 500M.

sudo journalctl --vacuum-size=500M

Hi @fixit7 ,

I must say I've never changed any values in "/etc/systemd/journald.conf". Having said that, if your objective was to set the "SystemMaxUse" size to 500M (meaning 500 MB or 500 Megabytes), then I guess that you had made a "typo" in your first attempt of setting SystemMaxUse=500G (meaning 500 GB or 500 Gigabytes) when what you probably intended to type in that "journald.conf" file was SystemMaxUse=500M (in other other words, you typed a "G" after 500 when you actually intended to type a "M").

Am I right?

1 Like

Thanks for catching my mistake.

1 Like

You're most welcome :slight_smile: