Comments (5)
@gabriel: that's not really a KBFS crash. It looks like something on the device unmounted the FUSE mountpoint or removed the kernel extension, leaving KBFS with nothing to talk to. Maybe we should look into the system logs to figure out if anything happened in the kernel around then?
from kbfs.
@strib @gabriel, here are the logs from around that time. I see a lot of entries for 'virusbarrierb' which I believe to be Panda Antivirus, my company's AV program. To debug, I disabled real-time scanning in Panda and the crashing seems to have stopped.
Can you provide a list of Mac directories that I should add to the AV whitelist?
zgrep -E "(Keybase|kbfs|kbfuse)" system.log.1.gz
Feb 14 10:08:13 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 10:08:14 alexcline-L141 kernel[0]: kbfuse: starting (3.5.2, Sep 27 2016, 10:56:03)
Feb 14 10:08:55 alexcline-L141.local WindowServer[208]: disable_update_timeout: UI updates were forcibly disabled by application "Keybase" for over 1.00 seconds. Server has re-enabled them.
Feb 14 10:08:55 alexcline-L141.local WindowServer[208]: common_reenable_update: UI updates were finally reenabled by application "Keybase" after 1.20 seconds (server forcibly re-enabled them after 1.00 seconds)
Feb 14 10:28:00 alexcline-L141.local WindowServer[208]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 0.250 second wait for reply from "Keybase" for synchronous notification type 100 (kCGSDisplayWillReconfigure) (CID 0x15307, PID 448)
Feb 14 11:10:06 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs[646]): Service exited due to signal: Terminated: 15
Feb 14 11:11:09 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:12:11 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:12:12 alexcline-L141 kernel[0]: process kbfs[2000] caught causing excessive wakeups. Observed wakeups rate (per sec): 537; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 67980
Feb 14 11:14:25 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 11:14:28 alexcline-L141 kernel[0]: process Keybase[2105] caught causing excessive wakeups. Observed wakeups rate (per sec): 10918; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 108757
Feb 14 11:14:29 alexcline-L141 kernel[0]: process Keybase[2093] caught causing excessive wakeups. Observed wakeups rate (per sec): 2820; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 47796
Feb 14 11:15:28 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:15:28 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/menubarIcon/[email protected]
Feb 14 11:16:30 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/SharedSupport/bin/keybase
Feb 14 11:16:30 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:17:00 alexcline-L141.local spindump[500]: Saved wakeups_resource.diag report for Keybase version 1.0.18-20170209165653+17b641d (1.0.18-20170209165653+17b641d) to /Library/Logs/DiagnosticReports/Keybase_2017-02-14-111700_alexcline-L141.wakeups_resource.diag
Feb 14 11:17:32 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /System/Library/ColorSync/Profiles/sRGB Profile.icc
Feb 14 11:17:32 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:18:00 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 11:18:06 alexcline-L141 kernel[0]: process Keybase[2238] caught causing excessive wakeups. Observed wakeups rate (per sec): 3674; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45149
Feb 14 11:18:06 alexcline-L141 kernel[0]: process Keybase[2241] caught causing excessive wakeups. Observed wakeups rate (per sec): 24225; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 268060
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/icons/[email protected]
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/Cookies
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/icons/icon-computer-32.png
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/app-state.json
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/menubarIcon/[email protected]
Feb 14 11:20:37 alexcline-L141.local spindump[500]: Saved wakeups_resource.diag report for Keybase version 1.0.18-20170209165653+17b641d (1.0.18-20170209165653+17b641d) to /Library/Logs/DiagnosticReports/Keybase_2017-02-14-112037_alexcline-L141.wakeups_resource.diag
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/Cookies
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Preferences/com.apple.symbolichotkeys.plist
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:21:09 alexcline-L141 kernel[0]: process kbfs[2279] caught causing excessive wakeups. Observed wakeups rate (per sec): 315; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59311
from kbfs.
(keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Ouch, that's harsh.
Can you provide a list of Mac directories that I should add to the AV whitelist?
/keybase
is the only mountpoint we add to your system, hopefully you can whitelist that and your problems will go away? If there's a way to whitelist processes too, I guess you should put "keybase.kbfs" (or just "kbfs") on there too.
from kbfs.
This service is defined to be constantly running and is inherently inefficient.
is shown in log for any launchd that has KeepAlive
as true. You can pretty much ignore it.
Yeah, /keybase
is the mountpoint and the kbfs process is /Applications/Keybase.app/Contents/SharedSupport/bin/kbfs
.
from kbfs.
@strib I wonder if we can fail more gracefully if AV software blocks something?
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
- Latest update of KBFS eating up a bunch of memory on macOS again. HOT 10
- 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.