在對一個大磁盤進行inotify監聽時,爆出如下錯誤:
Failed to watch /mnt/;
upper limit on inotify watches reached!
Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/inotify/max_user_watches’.
cat一下這個文件,默認值是8192,echo 8192000 > /proc/sys/fs/inotify/max_user_watches即可~
inotify報錯upper limit on inotify watches reached
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
企業Linux服務器數據實時同步備份的解決方案
vfast_wuwei
2019-02-23 12:55:03
rsync+inotify實時備份
chenjinpeng27
2019-02-23 00:10:37
rsync+inotify詳解和配置
xiaobing002
2019-02-23 00:02:03
rsync+inotify實現實時同步
bentian1208
2019-02-22 23:47:20
rsync+inotify實現數據同步
哆啦魚夢
2019-02-22 23:42:05
rsync+inotify實現數據實時同步
慧明的和尚
2019-02-22 23:36:06
rsync+inotify實現實時同步、增量備份
是阿杰啊
2019-02-22 23:30:44
rsync+inotify實現數據實時同步
wx59ab9c6302725
2019-02-22 23:18:02
rsync+inotify實現數據的實時同步
sailikung
2019-02-22 23:01:43
Rsync+inotify備份---郭亞望
郭亞望
2019-02-22 22:26:53
rsync+inotify文件實時同步
古文強
2019-02-22 22:14:40
rsync+inotify實時同步數據
咻斛一
2019-02-22 22:04:11
rsync 服務配置
feixiao
2019-02-22 21:34:08
rsync + inotify
zh123456992
2019-02-22 21:30:59