I'm running Ubuntu 14.04, when trying to sync a directory with Unison using the option repeat=watch. The directory contains ~125K files but I'm abutting a limit on the number of files Unison can handle. This is the error I receive:
Fatal error: Server: Filesystem watcher error: cannot add a watcher: system limit reached.
The watcher can be disabled by setting preference 'watch' to false.
I searched for more information by running Unison with debug=all but these are the only lines I can find related to the error.
Any idea as to what system settings need to be changed to get around this limit?