System limit for number of file watchers reached

# sudo vim /etc/sysctl.conf

添加并保存

fs.inotify.max_user_watches=524288

查看

# sudo sysctl -p
fs.file-max = 65535
vm.swappiness = 10
fs.inotify.max_user_watches = 524288
posted @ 2020-05-05 19:47  TBHacker  阅读(512)  评论(0编辑  收藏  举报