您的位置:首页 > 大数据 > 人工智能

解决: tail No space left on device

2015-01-13 13:43 579 查看
解决: tail No space left on device

df -h查看磁盘空间有剩余

df -i 查看inode有剩余

百度没有结果!

关键还得google
http://makandracards.com/makandra/1483-fix-tail-says-no-space-left-on-device
#######################################
Fix: Tail says "no space left on device"

Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it uses all of them, and you cannot use tail -f any more.

To increase the number of watches, put something like fs.inotify.max_user_watches = 32768 into /etc/sysctl.conf. (default is 8192)

To update the setting right away, run sudo sysctl -p /etc/sysctl.conf afterwards.

于是

vi /etc/sysctl.conf
(vi 命令):$,o
fs.inotify.max_user_watches = 32768

sysctl -p /etc/sysctl.conf

tail -f ***.out

ok,问题解决!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tail no space left