Dust is a rewrite of du (in rust obviously) that visualizes your directory tree and what percentage each file takes up. But it only prints as many files fit in your terminal height, so you see only the largest files. It’s been a better experience that du, which isn’t always easy to navigate to find big files (or atleast I’m not good at it.)

Anyway, found a log file at .local/state/nvim/log that was 70gb. I deleted it. Hope it doesn’t bite me. Been pushing around 95% of disk space for a while so this was a huge win 👍

107 points

I think something might be wrong with your Neovim if it aggregated 70 gigs of log files.

permalink
report
reply
55 points

don’t worry, they’ve just been using neovim for 700 years, it’ll be alright

permalink
report
parent
reply

Sure, that’s also a possibility. I’d be interested in their time machine though.

permalink
report
parent
reply
29 points

So I found out that qbittorrent generates errors in a log whenever it tries to write to a disk that is full…

Everytime my disk was full I would clear out some old torrents, then all the pending log entries would write and the disk would be full again. The log was well over 50gb by the time I figured out that i’m an idiot. Hooray for having dedicated machines.

permalink
report
parent
reply
29 points

That’s not entirely your fault; that’s pathological on the part of the program.

permalink
report
parent
reply

I once did something even dumber. When I was new to Linux and the CLI, I added a recursive line to my shell config that would add it self to the shell config. So I pretty much had exponential growth of my shell config and my shell would take ~20 seconds to start up before I found the broken code snippet.

permalink
report
parent
reply
1 point

If you have ideas please let me know. I’m preparing to hop distros so I’m very tempted to ignore the problem, blame the old distro, and hope it doesn’t happen again :)

permalink
report
parent
reply

I would have to look at the log file. Some plugin probably has an issue and writes massive amounts of data to the log every time you use Neovim. Monitor the growth of the log file and contact me via DM if it goes crazy again, I’m gonna try to figure out what’s going on.

permalink
report
parent
reply
87 points

ncdu is the best utility for this type of thing. I use it all the time.

permalink
report
reply
18 points

I install ncdu on any machine I set up, because installing it when it’s needed may be tricky

permalink
report
parent
reply
16 points
*

Try dua. It’s like ncdu but uses multiple threads so it’s a lot faster., especially on SSDs.

permalink
report
parent
reply
-7 points
*
Deleted by creator
permalink
report
parent
reply
11 points

Why does it suck that it’s written in Go?

permalink
report
parent
reply
-2 points
*
Deleted by creator
permalink
report
parent
reply
-10 points
*

Garbage collected languages will never not be at least slightly ick

Edit: I did not expect this to be so controversial, especially in regard to go, but I stand by my statement.

permalink
report
parent
reply
1 point

Yes, it looks very similar. The guy of ncdu is making a new improved and faster version in Zig.

permalink
report
parent
reply
1 point
*

For great justice?

permalink
report
parent
reply
54 points

Came in expecting a story of tragedy, congrats. 🎉

permalink
report
reply
2 points

But did he even look at the log file? They don’t get that big when things are running properly, so it was probably warning him about something. Like “Warning: Whatever you do, don’t delete this file. It contains the protocol conversion you will need to interface with the alien computers to prevent their takeover.”

permalink
report
parent
reply
8 points

PTSD from the days long ago when X11 error log would fill up the disk when certain applications were used.

permalink
report
parent
reply
54 points

Try ncdu as well. No instructions needed, just run ncdu /path/to/your/directory.

permalink
report
reply
11 points

If you want to scan without crossing partitions, run with -x

permalink
report
parent
reply
6 points
*
Removed by mod
permalink
report
parent
reply
40 points
*
Removed by mod
permalink
report
reply
1 point

What about the video similarity finding tool built into Czkawka? Is it not as good as VDF?

permalink
report
parent
reply
-3 points
*
Removed by mod
permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments