このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
hardware:gl-ar750s-ext:minidlna [2020/03/26 18:22] – ともやん | hardware:gl-ar750s-ext:minidlna [2020/03/27 10:57] (現在) – [Inotify Watches Limit] ともやん |
---|
| |
===== 設定 ===== | ===== 設定 ===== |
監視ファイル数が多い場合、 | |
| ==== Inotify Watches Limit ==== |
| 監視ファイル数が多い場合でも、OpenWrt では変更しない方が良いかも...\\ |
<code> | <code> |
# sysctl fs.inotify.max_user_watches | # sysctl fs.inotify.max_user_watches |
fs.inotify.max_user_watches = 8192 | fs.inotify.max_user_watches = 8192 |
</code> | </code> |
| または、\\ |
| <code> |
| # cat /proc/sys/fs/inotify/max_user_watches |
| 8192 |
| </code> |
===== 参考文献 ===== | ===== 参考文献 ===== |
[[https://openwrt.org/docs/guide-user/base-system/notuci.config|OpenWrt Project: System configuration not handled by UCI]]\\ | [[https://openwrt.org/docs/guide-user/base-system/notuci.config|OpenWrt Project: System configuration not handled by UCI]]\\ |
| \\ |
[[wpjp>inotify|inotify - Wikipedia]]\\ | [[wpjp>inotify|inotify - Wikipedia]]\\ |
| [[https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached|linux - Kernel inotify watch limit reached - Unix & Linux Stack Exchange]]\\ |
[[https://qiita.com/stc1988/items/464410382f8425681c20|inotify-toolsでファイルやディレクトリを監視する - Qiita]]\\ | [[https://qiita.com/stc1988/items/464410382f8425681c20|inotify-toolsでファイルやディレクトリを監視する - Qiita]]\\ |
[[https://www.ibm.com/developerworks/jp/linux/library/l-inotify/index.html|inotify で Linux ファイルシステムのイベントを監視する]]\\ | [[https://www.ibm.com/developerworks/jp/linux/library/l-inotify/index.html|inotify で Linux ファイルシステムのイベントを監視する]]\\ |
[[https://kazmax.zpp.jp/cmd/i/inotify.7.html|inotify - 約束事その他の説明 - Linux コマンド集 一覧表]]\\ | [[https://kazmax.zpp.jp/cmd/i/inotify.7.html|inotify - 約束事その他の説明 - Linux コマンド集 一覧表]]\\ |
| |