Cleaning up Linux journal

While reading up on a few random things, I stumbled across info on the Arch Wiki about how the system journal archives can get quite large, and may cause slowdowns. This is caused by a lack of limit in place for the size of journals stored. To my surprise, I had nearly 4GB of space taken up by system journals in /var/log/journal. I ran the following command to clear that up:

journalctl --vacuum-size=100M

This brought the size down to approximately 100MB. Along with this, I’ve set a limit to the journals, by editing the /etc/systemd/journald.conf:


Doing some testing this didn’t have any impact on my boot times, but it certainly didn’t hurt either.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s