-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: v1.16.4: Emit error by IOError #4446
Comments
I cannot deny the possibility of other unexpected causes, but, at least, #4342 's lack of lock can cause race condition and emit error. I can't find any other cause for the emit error since v1.16.4. |
I have reproduced this issue using the following config with v1.16.4. <source>
@type sample
tag test
size 10000
</source>
<source>
@type sample
tag test
size 50000
</source>
<source>
@type sample
tag test
size 100000
</source>
<match test.**>
@type null
<buffer tag, time>
@type file
path /test/fluentd/buffer/
flush_thread_count 2
timekey 2s
timekey_wait 0
flush_mode interval
flush_interval 3s
chunk_limit_size 1MB
chunk_full_threshold 0.9
overflow_action drop_oldest_chunk
</buffer>
</match> Fluentd logs:
|
Great! |
I confirmed 2 kinds of error
|
We have released v1.16.5 to fix this issue. |
@larntz Thanks for your report! |
Discussed in #4445
Originally posted by larntz March 26, 2024
What is a problem?
Since upgrading to 1.16.4 we've seen a large increase in the [warn] message below. I am trying to determine why this has increased, and if it's a problem.
In
fluentd/lib/fluent/plugin/buffer/file_chunk.rb
Line 69 in eac830f
this operation may fail
.Can anyone tell me what the impact of this might be? Are logs lost, or is something benign failing, and this can be ignored?
Describe the configuration of Fluentd
Describe the logs of Fluentd
Environment
The text was updated successfully, but these errors were encountered: