journalctl has no particular config on personal computer
Hi,
I've noticed recently journalctl takes ±1,5G storage on Ubuntu(budgie) 20.04 after few months of not-so-intensive usage ( it's a pc at home ).
django@ASGARD:~$ journalctl --disk-usage
Archived and active journals take up 1.4G in the file system.
django@ASGARD:~$
Shouldn't this « journal » be set to free space automatically on desktop computer ?
Actually this is its config' file on 20.04 :
django@ASGARD:~$ cat /etc/systemd/
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.
[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInter
#RateLimitBurst
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFile
#RuntimeMaxFile
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslo
#ForwardToKMsg=no
#ForwardToConso
#ForwardToWall=yes
#TTYPath=
#MaxLevelStore=
#MaxLevelSyslog
#MaxLevelKMsg=
#MaxLevelConsol
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
django@ASGARD:~$
As is, if for whatever reason the / partition gets close to full, journald is not aware and continues to « eat » storage.
It's just a feeling but I guess on a desktop computer ( not a server ) journald should be much less conservatory by default.
Am I wrong and why ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu systemd Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2020-07-14
- Last reply:
- 2020-07-15
What is the output of:
df -h
Thanks
Coeur Noir (coeur-noir) said : | #3 |
Thanks actionparsnip.
django@ASGARD:~$ df -h | grep -v loop
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 18M 1,6G 2% /run
/dev/sda1 24G 18G 4,7G 80% /
tmpfs 7,8G 137M 7,7G 2% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/sdb1 917G 496G 374G 57% /media/DATA
tmpfs 1,6G 36K 1,6G 1% /run/user/1000
django@ASGARD:~$
I moved /var/log/journal to another disc and symlinked it so it won't use space on my short / partition on SSD.
James Crane (jamesjcrane) said : | #4 |
So, I use:
django@ASGARD:~$ df -h | grep -v loop
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 18M 1,6G 2% /run
/dev/sda1 24G 18G 4,7G 80% /
tmpfs 7,8G 137M 7,7G 2% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/sdb1 917G 496G 374G 57% /media/DATA
tmpfs 1,6G 36K 1,6G 1% /run/user/1000
django@ASGARD:~$
And I also moved my spy app I got here https:/
Can you help with this problem?
Provide an answer of your own, or ask Coeur Noir for more information if necessary.