tail: inotify cannot be used, reverting to polling: Too many open files
作者:互联网
tail -f log出现以下warning:
tail: inotify cannot be used, reverting to polling: Too many open files
解决方法:
#将以下两行添加至: /etc/sysctl.conf
fs.inotify.max_user_watches=1048576
fs.inotify.max_user_instances=1048576
#然后执行
sysctl -p /etc/sysctl.conf
标签:files,used,sysctl,inotify,tail,Too,conf,open 来源: https://www.cnblogs.com/scandit/p/15516761.html