新手问题 tail 遇到问题退出

zealinux · October 26, 2012 · Last by zealinux replied at October 27, 2012 · 6607 hits

提示以下内容,然后自动退出来了。 ...... 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
You need to Sign in before reply, if you don't have an account, please Sign up first.