-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Bug Report
Describe the bug
"Ignore older" setting doesn't work at runtime, only at start, after version 2.1.8.
To Reproduce
- Steps to reproduce the problem:
- Set in_tail plugin to collect logs with Ignore_Older=1h
- Start fluent-bit
Expected behavior
After 2h of work Fluent-bit keeps open only current file and file from previous hour.
Your Environment
- Version used: 3.0.6
- Configuration: build from source with kafka out plugin
- Operating System and version: windows server 2019
Additional context
I noticed that Fluentbit doesn't release old log files, so I used the "Ignore older" setting to reduce the number of open files, because when I have around 1000 logs per 24h, Fluent-Bit uses a lot of RAM (more than 1 GB, which is a lot for an agent). Unfortunately I can't reduce the number of log files. After v2.1.8, this setting doesn't work at runtime.
Reactions are currently unavailable
