You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Screenshots
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.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
"Ignore older" setting doesn't work at runtime, only at start, after version 2.1.8.
To Reproduce
Expected behavior
After 2h of work Fluent-bit keeps open only current file and file from previous hour.
Screenshots
![Clipboard - 20, 2024 11_01](https://private-user-images.githubusercontent.com/51132430/344140819-951b7b4e-a7b9-416d-86b6-de18a6ab6f9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MzE0NjUsIm5iZiI6MTcyMDUzMTE2NSwicGF0aCI6Ii81MTEzMjQzMC8zNDQxNDA4MTktOTUxYjdiNGUtYTdiOS00MTZkLTg2YjYtZGUxOGE2YWI2ZjlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDEzMTkyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmOTU0MTAyZmEzODJiZTU0ZGUxOGYxMmM2YjgyOTk1Y2JjOGUxMTM0N2RhNTljMzFjMDNjZGI0ZWVkYWVkMmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3EcnlFs2qz6B4GbpYXlkK-drOB3usufPYqFhcmhLlJI)
Your Environment
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.
The text was updated successfully, but these errors were encountered: