keybase / keybase/client

[KBFS][Win10] The KBFS Sync and Block Caches do Leak!

Open
#24,284 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

At first i thought this Issue came from my System, but after a reinstall, i found out that this must be related to an Bug.
I am using my System since 3 Months now, and im often using KBFS to edit Rich Text Files, so i found myself pretty wondered as i saw around 100gb been taken by KBFS.
Heres a list:
AppData\Local\Keybase\kbfs_sync_cache\v1\diskCacheBlocks.leveldb - contains lots of nearly identical sized .ldb Files with an total of 90gb
AppData\Local\Keybase\kbfs_block_cache\v1\diskCacheBlocks.leveldb - same here, lots of .ldb Files with an total of 12GB

I havent had BSODs or something similar Happening, Keybase runs on start and stays active till i do shut down.
Running Win 10 64 2004, Keybase is installed on an M.2 SSD which is also the Systems Drive.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the reported Windows paths AppData\Local\Keybase\kbfs_sync_cache\v1\diskCacheBlocks.leveldb and AppData\Local\Keybase\kbfs_block_cache\v1\diskCacheBlocks.leveldb, then reproduce cache growth during KBFS use. Determine why the sync and block caches retain data and verify that their disk usage is bounded or cleaned up without affecting active files.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.