2021-04-02 20:12:44 +0000 [warn]: #0 suppressed same stacktrace"
And these chunks seem to discarded. Here is my buffer config -
<buffer>
@type file
path "/path/to/fluentd/buffer/myhost"
flush_mode interval
flush_interval 5s
flush_thread_count 1
flush_at_shutdown true
retry_type exponential_backoff
chunk_limit_size 8MB
retry_timeout 1h
overflow_action block
</buffer>
The overflow action block should ensure that there is enough space before writing more data correct? If thats the case, why am I loosing these chunks? Also, is there a way to error out in case disk full scenario occurs? Fluentd seems to keep discarding data instead of stopping/crashing when a disk full event occurs.
Thanks.
Hello,In case of disk full scenario with file buffer, I am seeing a lot of these error messages -"2021-04-02 20:12:44 +0000 [warn]: #0 emit transaction failed: error_class=Errno::ENOSPC error="No space left on device @ io_write - /path/to/fluentd/buffer/myhost/buffer.b5bf02f881edc66aa9281f29a8df7e47b.log" location="/opt/fluentd/gems/fluentd-1.12.2/lib/fluent/plugin/buffer/file_chunk.rb:62:in `write'" tag="sample_tag"2021-04-02 20:12:44 +0000 [warn]: #0 suppressed same stacktrace"
And these chunks seem to discarded. Here is my buffer config -
<buffer>
@type file
path "/path/to/fluentd/buffer/myhost"
flush_mode interval
flush_interval 5s
flush_thread_count 1
flush_at_shutdown true
retry_type exponential_backoff
chunk_limit_size 8MB
retry_timeout 1h
overflow_action block
</buffer>
The overflow action block should ensure that there is enough space before writing more data correct?
If thats the case, why am I loosing these chunks?