tail: cannot watch `/var/log/messages': No space left on device

$ tail -f /var/log/messages
...
...
tail: cannot watch `/var/log/messages': No space left on device
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda3 0 0 0 - /

$ sudo su
# sysctl fs.inotify.max_user_watches
fs.inotify.max_user_watches = 8192
#
# sysctl -w fs.inotify.max_user_watches=16384
fs.inotify.max_user_watches = 16384
# exit
$ tail -f /var/log/messages

ok


http://forums.gentoo.org/viewtopic-t-806326-start-0.html

No comments: