-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer files remain after restart of fluentd #4407
Comments
Where is this directory? |
The buffer file directory structure is located in |
Thanks for your report. fluentd/lib/fluent/plugin/buf_file.rb Lines 139 to 146 in 2b4ca5d
fluentd/lib/fluent/plugin/buf_file.rb Lines 234 to 239 in 2b4ca5d
|
You can avoid this problem by improving the setting. |
@daipom This sounds promising. I'll check out, but unfortunately we couldn't put the story on the topic into the current sprint 😞 I'll check in 2 weeks again! |
Describe the bug
After restart of fluentd, buffer files from previous runs are not being resumed and instead there for infinite time period. Example directory listing:
To Reproduce
During a continuous stream of events (source doesn't matter), restart fluentd:
Afterwards check the contents of the directory containing the buffer files.
Expected behavior
No files with modification time older than ~5 seconds (the flush interval) / ~1 minute (default resolution of directory listing) should be present in the buffer directories.
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: