Aller au contenu

Message d'erreur minidlna pour le scan des médias

Pour forcer le scan des médias avec  le serveur minidlna, il faut lancer la commande suivante

/etc/init.d/minidlna force-reload

Warning

On obtient dans les logs le message d'erreur suivant

tail /var/log/minidlna.log

Bug

[2012/11/11 10:17:56] inotify.c:195: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [6] 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

Pour corriger:

echo 100000 > /proc/sys/fs/inotify/max_user_watches

Note

la modification n'est pas gardé en cas de redémarrage

Pour conserver la valeur après un reboot

echo fs.inotify.max_user_watches=100000 | tee -a /etc/sysctl.conf; sysctl -p