Code Monkey home page Code Monkey logo

Comments (6)

Byron avatar Byron commented on June 25, 2024

It's strange and I have not encountered that before. You could try different command-line flags to alter if it crosses filesystems. Threads could be changed so only a single thread is used, and when that gets stuck the activity monitor can show opened files - maybe that shows what blocks it.

In general, dua can only get stuck if the filesystem blocks forever/a long time when getting file metadata.

from dua-cli.

failable avatar failable commented on June 25, 2024

Hi, I tried dua -t 1 i and saw it get stuck at .orbstack. Then I tried dua -t 1 -i .orbstack i and saw it get stuck at .cargo... Then dua -t 1 -i .orbstack -i .cargo i and it still get stucks...

from dua-cli.

Byron avatar Byron commented on June 25, 2024

Interesting - both work for me.

What do other tools do? I'd expect them to get stuck as well.

from dua-cli.

failable avatar failable commented on June 25, 2024

Hi, I tried dust, erdtree and GUI tools like DaisyDisk.app, all work fine.

from dua-cli.

Byron avatar Byron commented on June 25, 2024

That's really interesting - dua does't do anything special, just symlink_metadata() calls on paths. With -t multi-threading goes away as well so that can't be a source of deadlocking either. I assume this truly is 'blocking' behaviour, right? That is, there is no high-CPU observable?

from dua-cli.

failable avatar failable commented on June 25, 2024

That is, there is no high-CPU observable?

Yes.

I reinstall everything (dua, rust etc.) and reboot many times... And the issue is now gone. Not sure what was happened...I'm going to close the issue now. Thanks for your help!

from dua-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.