OpenMediaVault-Plugin-Developers/openmediavault-minidlna

fs.inotify.max_user_watches should be increased because otherwise MiniDLNA complains

flowwy opened this issue · 1 comments

With the MiniDLNA enabled in a fresh install of Kralizec (1.0), MiniDLNA complains about too low inotify limits:

[2014/11/16 20:29:40] inotify.c:198: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [2] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.

Please increase this limit to 100000 (or anything in that magnitude) by default when activating MiniDLNA:
fs.inotify.max_user_watches = 100000

Steps to reproduce:

  • install Kralizec
  • install MiniDLNA
  • setup MiniDLNA with a number of source directories
  • in OMV web UI inspect System Logs/DLNA and find the quoted error message

I have never changed the watches on my system and it has never caused an issue. However, I changed the plugin to set it to 100000. 1.0.9 in repo.