tail -f slow.log
tail: inotify cannot be used, reverting to polling
tail慢查询日志出现tail: inotify cannot be used, reverting to polling
按网上的提示进行修改,无法
处理方法:
在 /etc/sysctl.conf文件中加入下面的配置:
fs.inotify.max_user_watches=1048576
fs.inotify.max_user_instances=1048576
sysctl -p /etc/sysctl.conf 使修改生效。
后来想起我是给文件做了软链接,直接到原文件目录下tail 文件就不出现tail: inotify cannot be used, reverting to polling
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)