Space issues on Kubuntu

Hi, I have been allocated 65 gb for ubuntu, but lastly it seem not enough, there is a continuos claiming for more space,

show this

The longer it’s on, the more space it takes up, I’ve used autoremove, autoclean, clean, and others.

If there are any commands I should try, or any other advice, please let me know.

Thank you

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-20-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 7520U with Radeon Graphics
Memory: 8 GiB of RAM (7.0 GiB usable)
Graphics Processor: AMD Radeon 610M
Manufacturer: Dell Inc.
Product Name: Inspiron 15 3535
System Version: 1.23.0

for the moment i just have 7 gb free

P.S. I reinstalled Gufw and uninstalled Waydroid, but Gufw is still taking up all that space.

Those files in /var/log/ are text log files (except for the journal; those files are binary but can be read using ‘journalctl’). They collect error and warning messages. That they are growing that fast and to that size is a sign that something is wrong in your system.

For comparison: on my system I’ve limited the journal to store only the last 6 months and it takes up about 2.8 GB. I’ve configured logrotate to keep about a month worth of logs (rotating every week, the current and the previous log are kept as-is, the older logs are compressed). All the text logs take up less than 500 MB.

Having 33 GB of logs means your system is either keeping logs for a very long time or it’s logging a lot of errors and warnings. Read or at least skim those logs to get an idea what’s wrong.

5 Likes

Thank you,

for just two days

https://drive.google.com/file/d/1o9YBftgoEiOhLeXHMWRp6vqDzH16W2i9/view?usp=sharing

could you give me please a command to reduce/limit/configurate those files?

i installed waydroid and put some rules in order to have internet in waydroid, but i uninstalled waydroid because all this happen, and reinstalled gufw, and still much space…

however, this has happened before w/o waydroid

thank you

That would be a mere temporary workaround.

A better solution is to read a segment of the logfile, understand the problem that the log is describing, and resolve that underlying problem.

Typically you will discover a repeating pattern to the log quickly enough. Usually a minute or two of browsing is all you need. Show us an iteration of that pattern.

Note that the link you provided is too large for Google Drive to preview. Asking us to download an enormous random file is considered a bit shady here.

2 Likes

I use this command

sudo journalctl --vacuum-time=1s

now I have 11GB free, but syslog, kern and ufw are the same size, around 10 GB each one

I guess i’ll need to reinstall all ubuntu later

Please have a cup of coffee and then
reconsider what ian-weisser advised above.
Once the cause of these excessive logging is determined; then corrective action can be taken. If a really have-to case one can manually remove old log files (in the event that log rotate is not enough).

-gots to be a reason-

1 Like

What is the output of
cd /var/log; sudo du -sh *
Thanks

$ cd /var/log; sudo du -sh *
[sudo: authenticate] Password:
56K alternatives.log
0 apport.log
8.0K apport.log.1
4.0K apport.log.2.gz
4.0K apport.log.3.gz
4.0K apport.log.4.gz
4.0K apport.log.5.gz
680K apt
396K auth.log
0 boot.log
48K boot.log.1
36K boot.log.2
60K boot.log.3
44K boot.log.4
148K bootstrap.log
0 btmp
4.0K chrony
36K cups
4.0K cups-browsed
4.0K dist-upgrade
100K dmesg
100K dmesg.0
36K dmesg.1.gz
64K dmesg.2.gz
72K dmesg.3.gz
40K dmesg.4.gz
2.0M dpkg.log
8.0K fontconfig.log
4.0K gpu-manager.log
4.0K gufw.log
8.0K hp
868K installer
65M journal
9.2G kern.log
0 lastlog
4.0K private
0 README
4.0K samba
0 sddm.log
4.0K speech-dispatcher
9.3G syslog
7.8M sysstat
4.0K tor
9.2G ufw.log
8.0K unattended-upgrades
8.0K wtmp
4.0K wvdialconf.log

OK. Run:

tail -f /var/log/kern.log

The text will scroll as the file is appended to. What sort of messages do you see?

You can then use this to investigate the issue. You can do the same with the other files.

As it’s also in the firewall log I suspect your system is being spammed by something

Use CTRL + C to stop the tail command. The -f option means “follow”

1 Like

First of all, the vacuuming of the journal will only clean the journal file (sadly Ubuntu still ships two logging mechanisms (rsyslog and journald)) so you only cleaned the systemd side of things…

If you look at the big files (ufw.log, kern.log and syslog) you will likely find that they have rather similar content and given that the ufw.log file is so big I’d guess you have something like the nf_conntrack module enabled in your ufw settings, that will then log a line for each tcp connection from and to the machine…

Check your ufw settings and do not use such chatty settings like conntrack or other traffic monitoring options in your config

2 Likes

just appear this

$ tail -f /var/log/kern.log
2026-04-10T06:04:30.157011-05:00 lol kernel: audit: type=1326 audit(1775819070.155:336): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.zoom-client.zoom-client pid=74451 comm="ZoomWebviewHost" exe="/snap/zoom-client/275/zoom/ZoomWebv
iewHost" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7daa979b232b code=0x50000
2026-04-10T06:04:30.157037-05:00 lol kernel: audit: type=1326 audit(1775819070.155:337): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.zoom-client.zoom-client pid=74450 comm="ZoomWebviewHost" exe="/snap/zoom-client/275/zoom/ZoomWebv
iewHost" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7726af29b32b code=0x50000
2026-04-10T06:04:30.754019-05:00 lol kernel: audit: type=1107 audit(1775819070.752:338): pid=1151 uid=996 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" in
terface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=74437 label="snap.zoom-client.zoom-client" peer_pid=1147 peer_label="unconfined"
2026-04-10T06:04:30.754045-05:00 lol kernel: exe="/usr/bin/dbus-daemon" sauid=996 hostname=? addr=? terminal=?'
2026-04-10T06:04:30.927021-05:00 lol kernel: audit: type=1400 audit(1775819070.925:339): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=74498 comm="Z
oomWebviewHost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:04:30.927995-05:00 lol kernel: audit: type=1400 audit(1775819070.926:340): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=74498 comm="Z
oomWebviewHost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:04:30.928001-05:00 lol kernel: audit: type=1400 audit(1775819070.926:341): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/icd.d/" pid=74498 comm="ZoomWebviewH
ost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:04:31.079021-05:00 lol kernel: audit: type=1400 audit(1775819071.076:342): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/icd.d/" pid=74498 comm="ZoomWebviewH
ost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:04:31.090018-05:00 lol kernel: audit: type=1400 audit(1775819071.088:343): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=74498 comm="Z
oomWebviewHost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:04:31.090042-05:00 lol kernel: audit: type=1400 audit(1775819071.088:344): apparmor="DENIED" operation="open" class="file" profile="snap.zoom-client.zoom-client" name="/etc/vulkan/implicit_layer.d/" pid=74498 comm="Z
oomWebviewHost" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
2026-04-10T06:10:34.420048-05:00 lol kernel: hrtimer: interrupt took 17353 ns
2026-04-10T06:15:02.814023-05:00 lol kernel: kauditd_printk_skb: 20 callbacks suppressed
2026-04-10T06:15:02.814048-05:00 lol kernel: audit: type=1400 audit(1775819702.812:365): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T06:30:02.680280-05:00 lol kernel: audit: type=1400 audit(1775820602.678:366): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T06:45:02.447233-05:00 lol kernel: audit: type=1400 audit(1775821502.445:367): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T07:00:02.675025-05:00 lol kernel: audit: type=1400 audit(1775822402.673:368): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T07:09:42.991029-05:00 lol kernel: wlp2s0: authenticate with c6:d4:a1:4a:6e:ef (local address=44:fa:66:57:6a:b5)
2026-04-10T07:09:43.033012-05:00 lol kernel: wlp2s0: send auth to c6:d4:a1:4a:6e:ef (try 1/3)
2026-04-10T07:09:43.033030-05:00 lol kernel: wlp2s0: authenticated
2026-04-10T07:09:43.035017-05:00 lol kernel: wlp2s0: associate with c6:d4:a1:4a:6e:ef (try 1/3)
2026-04-10T07:09:43.039010-05:00 lol kernel: wlp2s0: RX AssocResp from c6:d4:a1:4a:6e:ef (capab=0x511 status=0 aid=51)
2026-04-10T07:09:43.039032-05:00 lol kernel: wlp2s0: associated
2026-04-10T07:09:43.075035-05:00 lol kernel: wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by c6:d4:a1:4a:6e:ef
2026-04-10T07:15:02.489054-05:00 lol kernel: audit: type=1400 audit(1775823302.486:369): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T07:30:02.708191-05:00 lol kernel: audit: type=1400 audit(1775824202.704:370): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T07:31:22.841018-05:00 lol kernel: wlp2s0: authenticate with cc:d4:a1:4a:6e:e8 (local address=44:fa:66:57:6a:b5)
2026-04-10T07:31:22.883027-05:00 lol kernel: wlp2s0: send auth to cc:d4:a1:4a:6e:e8 (try 1/3)
2026-04-10T07:31:22.892026-05:00 lol kernel: wlp2s0: authenticated
2026-04-10T07:31:22.894383-05:00 lol kernel: wlp2s0: associating to AP cc:d4:a1:4a:6e:e8 with corrupt probe response
2026-04-10T07:31:22.894402-05:00 lol kernel: wlp2s0: associate with cc:d4:a1:4a:6e:e8 (try 1/3)
2026-04-10T07:31:22.918015-05:00 lol kernel: wlp2s0: RX AssocResp from cc:d4:a1:4a:6e:e8 (capab=0x1431 status=0 aid=1)
2026-04-10T07:31:22.918039-05:00 lol kernel: wlp2s0: associated
2026-04-10T07:31:22.946009-05:00 lol kernel: wlp2s0: Limiting TX power to 20 (20 - 0) dBm as advertised by cc:d4:a1:4a:6e:e8
2026-04-10T07:31:35.227020-05:00 lol kernel: wlp2s0: disconnect from AP cc:d4:a1:4a:6e:e8 for new auth to c6:d4:a1:4a:6e:ef
2026-04-10T07:31:35.700015-05:00 lol kernel: wlp2s0: authenticate with c6:d4:a1:4a:6e:ef (local address=44:fa:66:57:6a:b5)
2026-04-10T07:31:35.743018-05:00 lol kernel: wlp2s0: send auth to c6:d4:a1:4a:6e:ef (try 1/3)
2026-04-10T07:31:35.743034-05:00 lol kernel: wlp2s0: authenticated
2026-04-10T07:31:35.745015-05:00 lol kernel: wlp2s0: associate with c6:d4:a1:4a:6e:ef (try 1/3)
2026-04-10T07:31:35.748017-05:00 lol kernel: wlp2s0: RX ReassocResp from c6:d4:a1:4a:6e:ef (capab=0x511 status=0 aid=52)
2026-04-10T07:31:35.748033-05:00 lol kernel: wlp2s0: associated
2026-04-10T07:31:35.857029-05:00 lol kernel: wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by c6:d4:a1:4a:6e:ef
2026-04-10T07:45:02.591032-05:00 lol kernel: audit: type=1400 audit(1775825102.589:371): apparmor="DENIED" operation="open" class="file" profile="snap.whatsie.whatsie" name="/home/lol/.config/kdedefaults/kdeglobals" pid=2501 comm=
"whatsie" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
2026-04-10T07:45:06.846023-05:00 lol kernel: usb 3-1: USB disconnect, device number 5
2026-04-10T07:45:07.090017-05:00 lol kernel: usb 3-1: new high-speed USB device number 6 using xhci_hcd
2026-04-10T07:45:07.216026-05:00 lol kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 2.23
2026-04-10T07:45:07.216055-05:00 lol kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2026-04-10T07:45:07.216058-05:00 lol kernel: usb 3-1: Product: SAMSUNG_Android
2026-04-10T07:45:07.216059-05:00 lol kernel: usb 3-1: Manufacturer: SAMSUNG
2026-04-10T07:45:07.216062-05:00 lol kernel: usb 3-1: SerialNumber: R8YY3025V1J
2026-04-10T07:45:07.293021-05:00 lol kernel: cdc_acm 3-1:1.1: ttyACM0: USB ACM device
2026-04-10T07:45:07.312264-05:00 lol kernel: usb 3-1: USB disconnect, device number 6
2026-04-10T07:45:07.623009-05:00 lol kernel: usb 3-1: new high-speed USB device number 7 using xhci_hcd
2026-04-10T07:45:07.749008-05:00 lol kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 2.23
2026-04-10T07:45:07.749028-05:00 lol kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2026-04-10T07:45:07.749029-05:00 lol kernel: usb 3-1: Product: SAMSUNG_Android
2026-04-10T07:45:07.749029-05:00 lol kernel: usb 3-1: Manufacturer: SAMSUNG
2026-04-10T07:45:07.749030-05:00 lol kernel: usb 3-1: SerialNumber: R8YY3025V1J
2026-04-10T07:45:13.595017-05:00 lol kernel: usb 3-1: USB disconnect, device number 7
2026-04-10T07:45:13.845085-05:00 lol kernel: usb 3-1: new high-speed USB device number 8 using xhci_hcd
2026-04-10T07:45:13.973044-05:00 lol kernel: usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 2.23
2026-04-10T07:45:13.973076-05:00 lol kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2026-04-10T07:45:13.973079-05:00 lol kernel: usb 3-1: Product: SAMSUNG_Android
2026-04-10T07:45:13.973081-05:00 lol kernel: usb 3-1: Manufacturer: SAMSUNG
2026-04-10T07:45:13.973082-05:00 lol kernel: usb 3-1: SerialNumber: R8YY3025V1J

i reinstalled ufw after this command

sudo apt-get purge ufw

i am using public profileat gufw

From AI:

It looks like your kernel log is being flooded with AppArmor “DENIED” messages. While these specific logs aren’t massive individually, if your system is constantly throwing these errors (especially from Snaps like Zoom and Whatsie), the log files in /var/log/ can balloon in size and eat up your disk space.

Here is a step-by-step guide to finding what is eating your space and how to clean it up.


1. Identify the Space Hogs

Open your terminal and run this command to see which directories are taking up the most space:

sudo du -sh /var/log /var/cache /home/* | sort -h

If /var/log is huge (several GBs), the logs are your primary culprit.


2. Immediate Cleanup (The “Quick Fix”)

To regain space immediately, you can safely clear out journal logs and package caches.

  • Vacuum Systemd Logs: This limits your logs to the last 200MB.sudo journalctl --vacuum-size=200M

  • Clean APT Cache: Removes downloaded .deb files you’ve already installed.sudo apt-get clean

  • Remove Old Snaps: Snap keeps old versions of apps. Use this command to clear them:snap list --all | awk '/disabled/{print $1, $3}' | while read snapname revision; do sudo snap remove "$snapname" --revision="$revision"; done


3. Address the Root Cause (The Logs)

Your logs show Zoom and Whatsie (Snaps) are being blocked from accessing certain system files (kdeglobals, vulkan drivers). This triggers a log entry every few seconds.

Fix A: Give Snaps Permission

Sometimes connecting the right “interfaces” stops the errors. Try:

sudo snap connect whatsie:desktop-config
sudo snap connect zoom-client:system-observe

Fix B: Clear the Kern.log

If /var/log/kern.log or /var/log/syslog are massive, you can empty them without deleting the file:

sudo truncate -s 0 /var/log/kern.log
sudo truncate -s 0 /var/log/syslog

1 Like

I just copied your output into AI and that came out. Very useful

I wouldn’t call that “flooded”, there are a few denials but not in an amount that would count for gigabytes of log spam (note that I am the zoom-client maintainer , the few vulkan and dbus messages on initial app startup are totally normal)

The real issue is likely rather the ufw.log and some mis-configuration of UFW, also tail -f will only give information about the current state but if the OP meanwhile removed and re-installed UFW with new configuration the spamming might have stopped….

@ksso if the tail -f output does not madly scroll but only prints something every once in a while it seems the cause of your log spamming is gone for the moment, if I were you I’d just delete the three files (syslog , kern.log and ufw.log, the respective services will just re-create them when they have something to write again) and watch them over the next few days to see if they will be growing again to unreasonable sizes

thank you very much

now free space is about 30 gb

the command doesnt show anything

i didnt know those file could be erased, also use this:

sudo truncate -s 0 /var/log/ufw.log

and now have 40 gb free, thank you

You haven’t given anything to follow… So it will output nothing.

1 Like

It’ll come back. You didn’t cure the issue