开发者社区> 问答> 正文

tailfvar/log/xxx.log报错,Nospaceleftondevice

tail -f /var/log/xxx.log报错,No space left on device
tail -f /var/log/xxx.log报错,No space left on device
但磁盘还有很多空间剩余,inode也没耗尽
具体报错是:tail -f messages
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: Listen normally on 1 lo 127.0.0.1 UDP 123
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: Listen normally on 2 eth0 10.173.21.147 UDP 123
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: Listen normally on 3 eth1 123.57.48.200 UDP 123
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: peers refreshed
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: Listening on routing socket on fd #20 for interface updates
Dec  3 21:54:12 iZ25meqyotrZ ntpd[917]: restrict: error in address '::' on line 17. Ignoring...
Dec  3 21:54:17 iZ25meqyotrZ kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Dec  3 21:54:17 iZ25meqyotrZ kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Dec  3 21:55:08 iZ25meqyotrZ kernel: EXT4-fs (xvdb1): mounted filesystem with ordered data mode. Opts:
tail: cannot watch `messages': No space left on device


解决方案:
/etc/sysctl.conf文件里加fs.inotify.max_user_watches=100000
/sbin/sysctl -p

展开
收起
loading)3 2015-01-08 12:43:29 9382 0
0 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载