Comments (10)
from kbfs.
Also I didn't do anything except overwritten one very large file with its newer local version, which is merely 700MB. And that issue persists long after the upload has finished
from kbfs.
Better to delete these and just do ‘keybase log send’. @strib will check them out.
…
Cheers. My log id is : 527a0fc7f875635a10beca1c
from kbfs.
So the problem is how can I just uninstall/disable kbfs while keeping everything else as-is? The RAM usage after a reboot is now 4.47GB+ and counting. This is driving me nuts
from kbfs.
Your local device is in a conflict state with the server, with respect to about 2 GB of data in one of your folders. Normally that should be fine and it should resolve the conflict without you needing to do anything, but it seems like KBFS is being frequently restarted before it can finish its work. Maybe due to excessive memory consumption, based on your description above? Right now our conflict resolution process doesn't handle large files in a memory-efficient way, so that might be the issue. In any case, it doesn't have anything to do with the latest update, but with the state of your local device.
To work around this for now, you should:
- Make a local copy of any unsynced data from your local folder that you don't already have backed up. (This is data you only see on this device in the folder, but can't yet see from your other devices.)
- Completely quit the Keybase app.
- Run this command from the terminal:
mv "$HOME/Library/Application Support/Keybase/kbfs_journal/v1/0120f9b2ad24ee89f66c77ef9a04278b834d-2af519d97cb3c381" "$HOME/Library/Application Support/Keybase/kbfs_journal/v1/2af519d97cb3c381.bkp"
- Restart Keybase.
At this point you should be able to copy the data back into the folder and proceed normally again. Let me know how it goes.
from kbfs.
(Note: edited the command above ^)
from kbfs.
Followed your steps and rebooted and it now consistently uses RAM at around 140MB, which I guess is perfectly normal.
However my private local folder (aka /keybase/private/navillezhang/) is smaller than 2GB so I'm not sure where does the conflict comes from.
Regarding frequently restarted. I manually killed it one or two times, not sure if there are more restarts. My RAM was never fully used so I don't think RAM is the reason for potential restarts
from kbfs.
I've previously uploaded earlier versions of the same file to kbfs and there was no issue whatsoever, each time overwritting the old file.
from kbfs.
Ok cool, it was probably the manual restarts then.
I can't tell from the logs exactly where the data usage was coming from. Maybe it was multiple versions of the 700 MB file you wrote? And that 2GB includes the encryption and padding overhead, so it's hard to be exact.
Anyway I'm glad it's working ok now, sorry for the bad experience. Close this out if things look ok, and let us know if you have more issues.
from kbfs.
Maybe it was multiple versions of the 700 MB file you wrote?
Older versions shouldn't exist since last overwrite of the same file before this was around 2months ago and I clean reinstalled macOS since then.
It was a large SQL DB dump, and the upload causing the trouble was dumped from the DB which I've modified table structures. So my best guess is that the diff is too large (if kbfs was doing some kind of git-like text compare version control, this is probably the reason of the huge mem usage)
from kbfs.
Related Issues (20)
- Ability to Nuke Database HOT 1
- KBFS file size limit of 512 KiB breaks git-remote-keybase HOT 9
- /keybase "resets" at random times HOT 15
- kbfs team folder "split" HOT 4
- fusermount: entry for /run/user/1000/keybase/kbfs not found in /etc/mtab HOT 13
- CreateFile not call when file name contains colon? HOT 5
- Removing "files before account reset" folder fails HOT 8
- android: git-remote-keybase stderr dup error HOT 12
- Keybase folder is empty HOT 2
- Question: How to use kbfs directly with snap applications? (Ubuntu 18.04.1 LTS) HOT 4
- Truncate file on Linux dosn't always work HOT 6
- Relative paths error on MacOS HOT 2
- keybase chat commands get slower and slower HOT 24
- dokan: path does not exist HOT 7
- Is there an obvious reason why I'm having trouble monitoring kbfs with incrond? HOT 8
- Oops. HOT 1
- Enormous KBFS memory usage when not doing anything (Arch Linux) HOT 10
- Extremely slow startup with VPN HOT 5
- incorrect quota state HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbfs.