BufferChunkOverflowError inside @ERROR loops forever - no buffer parameter can stop it

未关闭
#5,462 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

  • #5463 来自 @tarun9715m —— 已关闭,未合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
ruby
领域
backend

调研方向

从 fluent/plugin/buffer.rb:462 开始,这里日志显示写入期间发生了 BufferChunkOverflowError,并使用提供的 fluent.conf 以及主输出缓冲区和 @ERROR 缓冲区复现该循环。跟踪错误如何从主输出路由到 @ERROR,并验证到达 @ERROR 的超大记录会受到限制、被丢弃并记录日志,而不是被反复路由。

由索引模型根据 Issue 内容生成。

描述

bug
Describe the bug

If a record is larger than chunk_limit_size, the buffer raises BufferChunkOverflowError and the record is routed to @ERROR. If the output inside @ERROR also has a chunk_limit_size smaller than the record, it raises the same error, and the record is routed to @ERROR again. This repeats without bound.

None of the buffer's failure-handling parameters apply, because this error is raised at emit time rather than at flush time:

  • retry_max_times / retry_timeout govern flush failures. No flush has happened yet.
  • overflow_action governs BufferOverflowError (buffer is full). This is BufferChunkOverflowError (one record is too large) — a different error class.
  • receives a chunk after flush retries are exhausted. No chunk was ever created.

The only way to stop the loop is to set chunk_limit_size in @ERROR larger than the biggest record that will ever arrive. But that you don't have any control on.

To Reproduce
  1. Copy the configuration mentioned below, save the file as fluent.conf, make the necessary directory changes accordingly to our environment.

  2. run the command fluentd -c ./fluent.conf

  3. you will see the infinite loop of the error
    2026-08-04 15:40:35 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 11534390 bytes record (nth: 0) is larger than buffer chunk limit size (7340032)

Expected behavior

A record that fails in @ERROR for the same reason it arrived there should be dropped, with a log message saying so. @ERROR is the last-resort path; it should be bounded by construction rather than by the user guessing a large enough chunk_limit_size.

Your Environment
- Fluentd version: 1.19.3
- Operating system: MacOS
- Kernel version: 25.5.0
Your Configuration
<system>
  log_level debug
  root_dir /Users/tarun/fluentd-error/fluent/unrecovered_error-papa/
  flush_interval 10s
</system>

<source>
  @type tail
  @id new_id
  path /Users/tarun/fluentd-error/fluent/sample-longline4.txt
  tag sample.long
  <parse>
    @type none
  </parse>
</source>


<match sample.**>
  @type stdout
  @id stdout_main
  <buffer>
     @type file
     chunk_limit_size 7
     path /Users/tarun/fluentd-error/fluent/fluent-buffer/
     retry_max_times 5
     retry_type exponential_backoff
  </buffer>
</match>


<label @ERROR>
  <match **>
    @type file
    @id id_error_file
    @log_level debug
    path /Users/tarun/fluentd-error/fluent/label-error/
    <buffer>
       @type file
       retry_timeout 30
       retry_type exponential_backoff
       retry_max_interval 10
       chunk_limit_size 7
       retry_wait 10s
       flush_interval 10s
       path /Users/tarun/fluentd-error/fluent/fluent-error-buffer/
       retry_max_times 5
       overflow_action drop_oldest_chunk
    </buffer>
    <secondary>
      @type file
      path /Users/tarun/fluentd-error/fluent/label-error-secondary/
    </secondary>
  </match>
</label>
Your Error Log
2026-08-04 16:56:34 +0530 [info]: fluent/log.rb:372:: starting fluentd-1.19.3 pid=62385 ruby="4.0.6"
2026-08-04 16:56:34 +0530 [info]: fluent/log.rb:372:: spawn command to main:  cmdline=["/opt/homebrew/Cellar/ruby/4.0.6/bin/ruby", "-Eascii-8bit:ascii-8bit", "/opt/homebrew/lib/ruby/gems/4.0.0/bin/fluentd", "-c", "./fluent.conf", "--under-supervisor"]
2026-08-04 16:56:35 +0530 [info]: #0 fluent/log.rb:372:: init worker0 logger path=nil rotate_age=nil rotate_size=nil
2026-08-04 16:56:35 +0530 [info]: fluent/log.rb:372:: adding match in @ERROR pattern="**" type="file"
2026-08-04 16:56:35 +0530 [warn]: #0 fluent/log.rb:393:: default timekey interval (1d) will be used. To change the output frequency, please modify the timekey value
2026-08-04 16:56:35 +0530 [warn]: #0 [id_error_file] 'flush_interval' is ignored because default 'flush_mode' is not 'interval': 'lazy'
2026-08-04 16:56:35 +0530 [warn]: #0 fluent/log.rb:393:: default timekey interval (1d) will be used because of missing <buffer> section. To change the output frequency, please modify the timekey value
2026-08-04 16:56:35 +0530 [info]: fluent/log.rb:372:: adding match pattern="sample.**" type="stdout"
2026-08-04 16:56:35 +0530 [info]: #0 [stdout_main] Oj isn't installed, fallback to JSON as json parser
2026-08-04 16:56:35 +0530 [info]: fluent/log.rb:372:: adding source type="tail"
2026-08-04 16:56:35 +0530 [warn]: #0 [new_id] 'pos_file PATH' parameter is not set to a 'tail' source.
2026-08-04 16:56:35 +0530 [warn]: #0 [new_id] this parameter is highly recommended to save the position to resume tailing.
2026-08-04 16:56:35 +0530 [debug]: #0 fluent/log.rb:351:: No fluent logger for internal event
2026-08-04 16:56:35 +0530 [info]: #0 fluent/log.rb:372:: starting fluentd worker pid=62390 ppid=62385 worker=0
2026-08-04 16:56:35 +0530 [warn]: #0 [stdout_main] restoring buffer file: path = /Users/tarun/fluentd-error/fluent/fluent-buffer/buffer.b65836ea5c74127fce7fc22e600afc387.log
2026-08-04 16:56:35 +0530 [error]: #0 [stdout_main] found broken chunk file during resume. path="/Users/tarun/fluentd-error/fluent/fluent-buffer/buffer.b65836ea5c74127fce7fc22e600afc387.log" mode=:staged err_msg="staged file chunk is empty"
2026-08-04 16:56:35 +0530 [warn]: #0 [stdout_main] bad chunk is moved to /Users/tarun/fluentd-error/fluent/unrecovered_error-papa/backup/worker0/stdout_main/65836ea5c74127fce7fc22e600afc387.log
2026-08-04 16:56:35 +0530 [info]: #0 [stdout_main] Since a broken chunk file was found, it is possible that other files remaining at the time of resuming were also broken. Here is the list of the files.
2026-08-04 16:56:35 +0530 [debug]: #0 [stdout_main] buffer started instance=1328 stage_size=0 queue_size=0
2026-08-04 16:56:35 +0530 [debug]: #0 [stdout_main] flush_thread actually running
2026-08-04 16:56:35 +0530 [debug]: #0 [stdout_main] enqueue_thread actually running
2026-08-04 16:56:35 +0530 [debug]: #0 [id_error_file] restoring buffer file: path = /Users/tarun/fluentd-error/fluent/fluent-error-buffer/buffer.b65836ea5d46861d84071a445e547f724.log
2026-08-04 16:56:35 +0530 [debug]: #0 [id_error_file] buffer started instance=1304 stage_size=0 queue_size=50332088
2026-08-04 16:56:35 +0530 [debug]: #0 [id_error_file] flush_thread actually running
2026-08-04 16:56:35 +0530 [debug]: #0 [id_error_file] enqueue_thread actually running
2026-08-04 16:56:35 +0530 [debug]: #0 [new_id] tailing paths: target = /Users/tarun/fluentd-error/fluent/sample-longline4.txt | existing = 
2026-08-04 16:56:35 +0530 [info]: #0 [new_id] following tail of /Users/tarun/fluentd-error/fluent/sample-longline4.txt
2026-08-04 16:56:35 +0530 [info]: #0 fluent/log.rb:372:: fluentd worker is now running worker=0
2026-08-04 16:56:42 +0530 [info]: #0 [new_id] detected rotation of /Users/tarun/fluentd-error/fluent/sample-longline4.txt
2026-08-04 16:56:42 +0530 [info]: #0 [new_id] following tail of /Users/tarun/fluentd-error/fluent/sample-longline4.txt
2026-08-04 16:56:43 +0530 [debug]: #0 [stdout_main] Created new chunk chunk_id="65836edf2e5630c57b6d4b670bcb6459" metadata=#<struct Fluent::Plugin::Buffer::Metadata timekey=nil, tag="sample.long", variables=nil, seq=0>
2026-08-04 16:56:43 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291522 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291522 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:43 +0530 [debug]: #0 [id_error_file] Created new chunk chunk_id="65836edf3e248fa93d3e49387458bcc0" metadata=#<struct Fluent::Plugin::Buffer::Metadata timekey=1785781800, tag=nil, variables=nil, seq=0>
2026-08-04 16:56:43 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:43 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:44 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:45 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
2026-08-04 16:56:46 +0530 [warn]: #0 fluent/log.rb:393:: send an error event stream to @ERROR: error_class=Fluent::Plugin::Buffer::BufferChunkOverflowError error="a 6291511 bytes record (nth: 0) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 1) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 2) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 3) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 4) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 5) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 6) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 7) is larger than buffer chunk limit size (7), a 6291511 bytes record (nth: 8) is larger than buffer chunk limit size (7)" location="/opt/homebrew/lib/ruby/gems/4.0.0/gems/fluentd-1.19.3/lib/fluent/plugin/buffer.rb:462:in 'Fluent::Plugin::Buffer#write'" tag="sample.long"
......... continue like this
Additional context

As far as I can tell the cause is that @ERROR is itself a Label, and Label delegates emit_error_event / handle_emits_error to its RootAgent, whose @error_collector is the @ERROR label. So an error raised inside @ERROR is routed back to @ERROR. Nothing marks the event as having already been through the error path, so there is no termination condition. Corrections welcome if I have misread this.

This also affects the case where the @ERROR output is correctly sized but fails transiently — a full disk, a permissions change, a read-only remount. In those situations the error path failing generates more traffic on the error path, which is the opposite of what you want from a log shipper's last resort.

Suggested fixes

  1. Drop an error event on re-entry into @ERROR, and log at error level.
  2. Failing that, at least emit a distinct log line on re-entry. Right now the repeated send an error event stream to @ERROR warning is identical to normal first-pass error logging, so a loop is indistinguishable from many records each failing once.
主要语言
Ruby
星标
13.6k
派生
1.4k
平均合并
1 天 1 小时
30 天内合并 PR
61

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluent/fluentd 的其他 Issue

查看 fluent/fluentd 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。