-
Notifications
You must be signed in to change notification settings - Fork 136
Enormous KBFS memory usage when not doing anything (Arch Linux) #1958
Comments
2 things:
|
|
I'm very confused, there should only be one Anyway @DonaldKBrown please run |
I believe it's the different threads, you can turn off |
@strib : My log id is |
Agreed almost certainly the same process, since the memory stats all line up. Also note slack showing the same thing. |
Ok thanks. @DonaldKBrown are you still having the high memory usage? If so, can you share the contents of 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. |
@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. |
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... |
All we need it for is to generate a new block, so just keep the function for making the new block instead. Issue: #1958
So the prefetcher can get a new block function without holding a reference to the block that supplied it. Issue: #1958
All we need it for is to generate a new block, so just keep the function for making the new block instead. Issue: #1958
So the prefetcher can get a new block function without holding a reference to the block that supplied it. Issue: #1958
So right now I'm not uploading or downloading anything (and the Keybase app agrees, it says "Done" with regards to files) and my memory usage looks like this:
Log ID: bb31cd3b22499f77350fce1c
That's a fraction of my memory, but it's enough to cause noticeable slowdown here and there.
Yesterday I started making a Veracrypt container but changed my mind and cancelled it, so that's not being uploaded. I just finished making a backup to my private directory using Borg Backup a couple of hours ago, so I could understand the memory usage back then, but it's still high a few hours later.
The text was updated successfully, but these errors were encountered: