I’ve installed Kubuntu less than 6 months ago (24.10 devel, now updated to 25.04 devel). I’m wondering if i can safely delete this file and how can I prevent it to become so big in the future.
I don’t know if this size may be related to the 25.04 update process. I didn’t check before updating.
You can delete it as it will be created when the system runs as you can see there are several syslog (as well as other log files). If you want to not have large syslog or other log files, stop doing whatever it is you were doing to create a file that large. Did you look at the newest syslog file, the 2.9MB file? You should see messages and information there that will point to the source of the problem. You should be familiar with these files if you are going to volunteer to test for Canonical.
Thanks for confirming I can remove it.
I was doing nothing different than a normal Desktop use… I’m not a tester for Canonical, I just want to have updated and new packages Yes, I know all the risks of using a development distro, don’t worry. But I’m nothing more than a normal user.
I just can’t understand why the system doesn’t clean the logs. In professional activities it may be useful, but I’ve installed “Kubuntu Desktop” so I would expect the system to prevent a 25GB log. Nothing serious, just a waste of disk space
The logs are rotated (and compressed) weekly, if you have such a big log there must be something spamming it with messages. So before deleting it you should take a look inside to see what produces this spam (and fix this if possible)
2025-01-12T07:39:58.996887+01:00 enrico-kubuntu systemd[1]: logrotate.service: Deactivated successfully.
2025-01-12T07:39:58.997011+01:00 enrico-kubuntu systemd[1]: Finished logrotate.service - Rotate log files.
2025-01-12T07:39:58.997197+01:00 enrico-kubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.2406.0" x-pid="1638" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
2025-01-12T07:39:59.792210+01:00 enrico-kubuntu kded6[2348]: kf.service.sycoca: The menu spec file ( "" ) contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix it.
2025-01-12T07:39:59.792269+01:00 enrico-kubuntu kded6[2348]: kf.service.sycoca: The menu spec file ( "" ) contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix it.
I really don’t remember to have ever used any command to disable the logrotate service. I can’t even exclude it was my fault, but it seems to be a recent command (1 wk ago) and I didn’t make any test in the last days
I have really tons of
2025-01-12T19:59:52.545074+01:00 enrico-kubuntu env[72553]: [72553:0112/195952.545041:ERROR:address_tracker_linux.cc(452)] Failed to recv from netlink socket: Permission denied (13)
2025-01-12T19:59:52.545078+01:00 enrico-kubuntu env[72553]: [72553:0112/195952.545060:ERROR:address_tracker_linux.cc(452)] Failed to recv from netlink socket: Permission denied (13)
2025-01-12T19:59:52.545086+01:00 enrico-kubuntu env[72553]: [72553:0112/195952.545078:ERROR:address_tracker_linux.cc(452)] Failed to recv from netlink socket: Permission denied (13)
I ran this command which should count the lines where this error appears, at least in my intentions
grep "address_tracker_linux.cc(452)] Failed to recv from netlink socket: Permission denied (13)" /var/log/syslog.1 | wc -l
and it returns 146.851.700. I can’t scroll this infinite list, but it seems to have been added all in few minutes as you can see in the timestamps.
Very non-scientific test: I need to hold “pag down” for 36 seconds before moving to the next minute…
Hello, I wasn’t able to understand why that huge log has been created. I just deleted the syslog.1 file and checked that logrotate (systemctl status logrotate.timer) was still active (it is).
I’ll check in the next weeks if this happens again.