dundee / gdu

Fast disk usage analyzer with console interface written in Go
MIT License
3.8k stars 138 forks source link

Always Scanning #296

Closed Jackiexiao closed 7 months ago

Jackiexiao commented 7 months ago

gdu stuck and always scanning.... no response

dundee commented 7 months ago

Could you add more details? Is it reproducible? Which version od Gdu and what OS are you using?

Jackiexiao commented 7 months ago

thx for your reply

./gdu -v
Version:     v5.25.0
Built time:  Tue Jun  6 02:51:34 PM CEST 2023
Built user:  dundee

Ubuntu 18.04.6 LTS

It is reproducible, but only on my server, I scan a > 100T disk. It’s reassuring to see that gdu is still actively scanning, as evidenced by the display of the increasing count of files, which confirms it is tirelessly processing through a directory with numerous small files.

dundee commented 7 months ago

Thanks for details.

Ok, that's a lot of data. Isn't Gdu running out of memory in the first place?

Jackiexiao commented 7 months ago

no, I have >300G memory, but gdu did consume a lot of memory (>6G). looks like it's my disk's problem...... I've rescreened it now, and there's no problem

dundee commented 7 months ago

Great!

Feel free to also try the new --use-storage and --read-from-storage options that come with Gdu 5.26. It will run much slower, but use less RAM and also you can then reopen the results later. It's still experimental though so you might hit some problems.

Jackiexiao commented 7 months ago

thx