新手问题 tail 遇到问题退出

zealinux · 2012年10月26日 · 最后由 zealinux 回复于 2012年10月27日 · 6606 次阅读

提示以下内容,然后自动退出来了。 ...... tail: inotify 资源耗尽 tail: 无法使用 inotify 机制,回归为 polling 机制

tailf: log/production.log: cannot add inotify watch (limit of inotify watches was reached).

什么意思?

$ sysctl fs.inotify.max_user_watches
   #=> 8192

$ sudo sysctl fs.inotify.max_user_watches=100000
需要 登录 后方可回复, 如果你还没有账号请 注册新账号