GithubHelp home page GithubHelp logo

Comments (10)

strib avatar strib commented on September 28, 2024

2 things:

  • I don't know much about Arch, but you're sure that's reporting resident memory usage, and not just virtual memory usage, right? Our programming language Go has an issue releasing the latter I think, but it wouldn't actually affect available memory.
  • I think I just found and fixed a memory leak, the PR is still in review: #1956. I see a bunch of prefetcher stuff in your logs so it could very much be related.

from kbfs.

quantum-dan avatar quantum-dan commented on September 28, 2024
  • I'm not entirely certain which, but my system is definitely short on available memory as a result. This is the first time in years that it's actually started using swap storage.
  • That could explain things. Thanks.

from kbfs.

da-code-a avatar da-code-a commented on September 28, 2024

This issue just appeared in the latest update on an Ubuntu 18.04 system as well. Computer slowed down to a halt, couldn't even send a Slack message until I killed the main kbfsfuse process. See screenshot:

2018-12-20-081821

from kbfs.

strib avatar strib commented on September 28, 2024

I'm very confused, there should only be one kbfsfuse process running at a time. Where are the other ones coming from? cc: @heronhaye

Anyway @DonaldKBrown please run keybase log send, and if you're still having the issue while kbfs is running and mounted, please also save the contents of the /keybase/.kbfs_profiles directory.

from kbfs.

heronhaye avatar heronhaye commented on September 28, 2024

I believe it's the different threads, you can turn off hide userland process threads in F2.

from kbfs.

da-code-a avatar da-code-a commented on September 28, 2024

@strib : My log id is b3e1deb590f3212f0f10411c. Thank you for looking into this.
@heronhaye : I like to keep them displayed to see if anything is spawning more than it should. It sometimes makes it difficult to find what I'm looking for, but I've gotten used to it 😉

from kbfs.

maxtaco avatar maxtaco commented on September 28, 2024

Agreed almost certainly the same process, since the memory stats all line up. Also note slack showing the same thing.

from kbfs.

strib avatar strib commented on September 28, 2024

Ok thanks. @DonaldKBrown are you still having the high memory usage? If so, can you share the contents of /keybase/.kbfs_profiles/ with me? Like cp -r /keybase/.kbfs_profiles/{block,goroutine,heap,mutex} /keybase/private/strib,donaldkbrown. Thanks!

From the log it seems busy prefetching a big file from one of your team folders into your local disk cache, to give you fast access to it if you want it. This is a new feature with this release so it must have a few bugs. It's obviously not supposed to slam your CPU or cause a memory leak, so I'll look into it. But it'd be helpful to get a memory profile so I can tell where the leak is.

from kbfs.

da-code-a avatar da-code-a commented on September 28, 2024

@strib After killing the main thread, I initially wasn't able to access KBFS through Nautilus; it gave a "Software caused connection abort" error. I opened the Keybase desktop app and selected the "Files" tab, which reconnected me to KBFS. Memory usage appears normal now, I've shared those files with you.

from kbfs.

strib avatar strib commented on September 28, 2024

Ok thanks. If you see that again, please capture those profile files before you kill it, if possible. Inspecting the code I do see one more possible leak, so I'll fix it soon and we'll go from there...

from kbfs.

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.