Score:0

How can I identify and purge unecessary files

cn flag

I'm running UBUNTU 20.04.3 LTS (Focal Fossa). I have a disk usage issue and I cant find the location or identify what is consuming my disk space using the Disk Usage Analyzer. I know that it's located at the /var/log, but I don't know the exact location. enter image description here

How to solve this?

in flag
You may want to start by looking in `/var/log` and see which file(s) might be consuming gigabytes of storage space. If it’s `syslog`, find out what is complaining, because it’s important. If it’s something else, [edit] your question with the details and someone may be able to offer something specific and actionable to solve your problem
cn flag
@matigo it is indeed the `syslog.1` file that is consuming more than 600 GB..
cn flag
Here is one of the errors that is showing in the log file: `Sep 21 15:10:54 userdcec update-notifier.desktop[22371]: [22371:22371:0100/000000.110853:ERROR:zygote_linux.cc(241)] Error reading message from browser: Socket operation on non-socket (88)`
cn flag
seems a google chrome problem...
cn flag
I found a similar question here: https://askubuntu.com/questions/1103137/huge-syslog-file-crashing-system
cn flag
If I delete this `syslog.1` file will I have problems?
Nmath avatar
ng flag
Log files that end in `.1` and `.2`, etc - these are archived log files and can be safely deleted. Back it up somewhere else if you aren't sure. It would still be good to determine why these log files are so big so you can fix the root problem
N0rbert avatar
zw flag
Does this answer your question? [Check how space is distributed on a Linux system](https://askubuntu.com/questions/561605/check-how-space-is-distributed-on-a-linux-system) . Retry with `ncdu /var/log` .
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.