Comments (6)
Based on that log, I think 8ff5d80 and b9e6899 will help resolve one error case.
More troubling though is kFSEventStreamEventFlagKernelDropped
, which is equivalent to the linux IN_Q_OVERFLOW
. I haven't been able to find information on bumping up the equivalent limits for the mac (not even sure if they exist).
If the system is unable to keep on top of the notifications then watchman will spend a bunch of time and resources re-crawling and re-examining the tree to try to keep current.
How many discrete watches are in use on that system? Is .watchmanconfig present in those watches, or is it just running with the defaults?
from watchman.
... and are those repos big (lot of files and dirs)? Roughly how many?
from watchman.
If by discrete watches, you mean the length of the list watchman watch-list returns, I'm not sure (I'll ask him to report that as well next time he has issues) -- but I see maybe a couple dozen listed in the log. The watchman stuff I wrote for git does one watch per git repo.
No .watchmanconfig -- just the defaults.
None of the repos are huge -- the largest two are each roughly 25k dirs, 70k files (the rest are much smaller).
from watchman.
an interesting data point might also be whether any of those watches are recursive (eg: watching both /foo/bar and /foo) as this would double the number of updates that need to be processed. We have configuration options to restrict watchman initiated watches to repo roots if it looks like this is happening.
from watchman.
I would be surprised if any of them were recursive; there is never a reason for anyone to do that with how we're using watchman, and as you can see from the log, none of the listed ones (which include the largest directory trees) appear to do it.
from watchman.
I'm going to close this out; I think the main contributor here was a couple of bugs in deciding to recrawl and then tripping over ourselves in the overflow-and-recrawl case. If you're still impacted by this on a more recent build, please re-open.
from watchman.
Related Issues (20)
- not bin HOT 1
- Publish new serde_bser version
- Installation error: ‘CertUtils’ has not been declared in ‘fizz (Ubuntu 22.04.3 LTS) HOT 3
- Unable to install watchman on arch HOT 2
- Prebuilt Linux binaries are unusable on any modern system HOT 5
- PCRE link is broken
- MacOS binaries missing HOT 5
- Hard dependency on Homebrew HOT 1
- Windows binaries are missing
- Unable to install pywatchman
- Unable to build watchman from source for ubuntu in the latest versions of releases HOT 1
- Could you provide `fc39.x86_64.rpm`? HOT 1
- Error from yarn gets written into plist
- Prebuilt macOS binaries no longer exist HOT 5
- `watchman list` command crashes with boost/icu4c HOT 1
- `watchman --version` always return `0.0.0` when building from source HOT 2
- Unable to resolve module @babel/runtime/helpers/interopRequireDefault
- Wiji
- Mistake in Readme file
- Build failure: `'apache::thrift::HandlerCallbackPtr' has not been declared`
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 watchman.