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 使修改生效。再次执行 tail -f catalina.out 就可以了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM