Filebeat is not closig the file descriptor, when the file is deleted/renamed

(Swethamahesh) #1


We didnt had any conclusion on the file descriptor is hanging.


Request to provide some solution on how to go about the file descriptor being hanged.

Swetha. M

Filebeat is not closig the file descriptor and the file descriptors are dangling, when the file is deleted/renamed
(Carlos PĂ©rez Aradros) #2

Hi @swethamahesh,

Could you share the logs of filebeat for the period where you do the file renaming? Please run it with these parameters: -d prospector -v

(Steffen Siering) #3

Filebeat is not closing files, cause it hasn't finished processing them yet. There are a number of close options per prospector. If filebeat is blocked by stale outputs, the most aggressive is close_timeout, which force kills a harvester (file reading process) every N seconds.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.