目次

DLNA メディアサーバー

パッケージインストール

# opkg update
# opkg install minidlna
# opkg install luci-app-minidlna

設定

Inotify Watches Limit

監視ファイル数が多い場合でも、OpenWrt では変更しない方が良いかも…

# sysctl fs.inotify.max_user_watches
fs.inotify.max_user_watches = 8192

または、

# cat /proc/sys/fs/inotify/max_user_watches
8192

参考文献

OpenWrt Project: System configuration not handled by UCI

inotify - Wikipedia
linux - Kernel inotify watch limit reached - Unix & Linux Stack Exchange
inotify-toolsでファイルやディレクトリを監視する - Qiita
inotify で Linux ファイルシステムのイベントを監視する
inotify - 約束事その他の説明 - Linux コマンド集 一覧表