Skip to content

Stop monitoring inactive file #11033

@CNicer

Description

@CNicer

My scenario involves multiple log files with new content at the same time. These files stop being modified at different times and are guaranteed not to be modified again. However, these unmodifiable files are neither renamed nor deleted. I've noticed that fluent-bit is constantly holding onto the file directories of these files, preventing memory usage from decreasing.
I'm wondering if there's a way to stop monitoring inactive files after, say, 1 minute or 1 hour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions