silverwind / droppy

**ARCHIVED** Self-hosted file storage
BSD 2-Clause "Simplified" License
1.62k stars 194 forks source link

High number of watched files #408

Open noeRls opened 4 years ago

noeRls commented 4 years ago

I am using droppy to easily upload music to my web-server.

I notice that it watch every files in the directory. It's problematic as I have a lot of files and even by increasing the limit of inotify it will at a point just stop working. For 100go of music inotify number is 22140.

It would be nice to have an option to not watch every files in the directory.

ashleysommer commented 4 years ago

@noeRls This option already exists. See in the configuration section in the README file. Its called watch, by default it is true, you can set it to false to remove watches.

noeRls commented 4 years ago

Okay thanks, it solve my problem!

As a note, it could be nice to have this option in the web app settings.