Why tail -f doesn’t work

It is really wired to see tail -f doesn’t work on one of my server. File is changing, but tail doesn’t output anything.I am really curious. First, I straced tail strace tail -f file.log open(“file.log”, O_RDONLY) = 3fstat(3, {st_mode=S_IFREG|0644, st_size=1, …}) = 0lseek(3, 0, SEEK_CUR) = 0lseek(3, 0, SEEK_END) = 1lseek(3, 0, SEEK_SET) = 0read(3,… Continue reading Why tail -f doesn’t work

Categorized as linux