Hello, there,
We finally upgrade filebeat from 5 to 6.1.3, however, the same problem still persists.
(sorry I could not reply to the original thread since it is more than a month old.
We observed the same issue today even after we upgraded filebeat to 6.1.3.
(1) filebeat still holds on to its file descriptor when it is more than an hour after a file being rotated.
(since I have " close_inactive: 10m" in the config, filebeat should close the fd 10 minutes after a log file being rotated?
(2) After a file being deleted, filebeat still holds on to its file descriptor
I have close_removed: true, so this should not happen?
(Both observed from lsof)
Relevant filebeat config is:
closes the harvester/fd when a file is removed.
close_removed: true
filebeat will focus on sending the current log files
ignore_older: 36h
close_inactive: 10m
set max lifetime of each harvester (fd)
close_timeout: 30h
clean_inactive: 48h