Comment 10 for bug 1745666

Anders Hall (a.hall) wrote :

I'm fairly sure this is related to changes in fs.inotify.max_user_watches ("Too many open files"). I recently got a bunch of warnings in misc code editors about low values. Took me a while to understand the max_user_watches had reverted back to the default value of about 8000. I.e., some update probably changed my setting, which was much higher before, without permission. I haven't touched that setting for years.

This could perhaps also affect large dropbox folders.

Pro/Cons of a higher value:
https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached

Currently testing this workaround:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p