To check the space occupied by the journals use command:

$ journalctl –disk-usage


$ du -sh /var/log/journal


$ journalctl --vacuum-size=500M

which deletes old log-files from /var/log/journal until total size of the directory becomes under specified threshold (500 megabytes in this example).

You can also clean based on time:

$ journalctl --vacuum-time=10d
Linux journal logs

Is it possible to delete journal files manually wihout harm? Yes!

Everything inside of /var/log/journal/* could bu deleted but do not delete the directory itself.

sudo rm -rf /var/log/journal/*

You can control the size of this directory using this parameter in your /etc/systemd/journald.conf:


You can force a log rotation:

$ sudo systemctl kill --kill-who=main --signal=SIGUSR2 systemd-journald.service

NOTE: You might need to restart the logging service to force a log rotation, if the above signaling method does not do it. You can restart the service like so:

$ sudo systemctl restart systemd-journald.service

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
             .oooo.          .o8                 .oooo.    oooo    oooo 
.dP""Y88b "888 .dP""Y88b `888 .8P'
.oooo.o ]8P' .oooo888 oooooooo ]8P' 888 d8'
d88( "8 .d8P' d88' `888 d'""7d8P <88b. 88888[
`"Y88b. .dP' 888 888 .d8P' `88b. 888`88b.
o. )88b .oP .o 888 888 .d8P' .P o. .88P 888 `88b.
8""888P' 8888888888 `Y8bod88P" d8888888P `8bd88P' o888o o888o

Enter the code depicted in ASCII art style.