-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detected file system events overflowing #6626
Comments
@davidwindell even though it's a warning https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/vfs/watcher/FileWatcherService.java#L293 it does look like evens may have been lost and thus filewatchers may malfunction (https://docs.oracle.com/javase/8/docs/api/java/nio/file/StandardWatchEventKinds.html#OVERFLOW) @dkuleshov can this be causes by a huge number of files in @davidwindell's projects? |
We do seem to see an awful lot of problems with file watching and as you say our projects have ~20k files |
Hi, That is not an error but a warning, most likely caused by a big amount of file system events. Watch service ( I'm not sure if we can do much here. In general that should not be considered as an issue unless you need to track all those flooding events but I would recommend to reduce the number of directories that you track with watch service, or don't track the most massive directory, of course if that does not break your business logic. Besides that I can assume that manual tuning of the file system or inotify kernel subsystem inside workspace agent could help. However that's just an assumption and requires further investigation. In fact I don't think that file watcher service is really designed to effectively track such big amounts of items. If it is not necessary to track file system events in real time I would recommend to use |
We've increased inotify watches here #6417 I don't really understand why the file watcher needs to watch every file in our project? Surely it should only watch the files that are actually open in the IDE. There's only ever a small number < 10 of these. |
I'm sorry, I haven't realized that we are dealing with Che version 5.19 or older. In those versions there is a This will be most likely fixed after |
@dkuleshov could this be related to #6596? |
Seems like yes, however I'm concerned that there were no changes to |
I'm going to go ahead and close this as 5.19 is out. Will re-open if we see any further overflows. |
Hi,
We keep seeing the below error in our ws logs, any idea of the reason?
[o.e.c.a.v.w.FileWatcherService 293] - Detected file system events overflowing
OS and version:
Che 5.18
The text was updated successfully, but these errors were encountered: