Open ninja- opened 5 years ago
What operating system are you using?
Ubuntu 18.04, files are in a docker bind mount from host. Latest kernel. Java 12
There could be some bottlenecks in file event dispatching in HA.
There was a issue regarding sensitivity/responsivity of Java watcher, I don't know if it is still issue on Linux now.
None of these look to me like they can cause it...and sensitive is already to set to highest
-v /var/run/docker.sock:/var/run/docker.sock
to make notification working?
I recently found that the when unpacking a lot of files into the extra-classpath directory, FileWatcher can sometimes skip the events for random files completely, and only catch it randomly after 4-5 unpacks to extra-classpath directory...
My alternative for now is a signal handler that hotswaps all files existing in directory, without FileWatcher. But it would be great to get this fixed upstream as this would simplify the setup.
My first guess was the race due to need to subscribe to new subdirectories created? But it's probably not that, since after a second unpack they already exists and only files are changed..