OneFolder
OneFolder copied to clipboard
Linux - ENOSPC: System limit for number of file watchers reached
Describe the bug (not sure if anything can be done in this project; this report is if anyone else needs this information) Under Linux, importing a folder with a few too many images results in many errors such as:
Error: ENOSPC: System limit for number of file watchers reached, watch 'FOLDER'
... stack trace
To Reproduce Simply import a folder with a lot of images. Tags are not relevant. Amount is.
OneFolder version
- e.g. v1.0.2 (you can find this in the about menu or in the name of the installer file)
Desktop OS
- Manjaro Linux
Additional context As per this it is stated to increase the max number of watches. Then the problem goes away.
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
$ sudo sysctl -p
## check that the new value was applied
cat /proc/sys/fs/inotify/max_user_watches
Thank you very much for this!
Just for the record, how many pictures are we talking about?
20k; might have something to do with many folders.