Hello. I've encountered with such an issue.
This is the full stack trace of the error:
2021-03-03 07:31:57.132920493 +0000 fluent.warn: {"message":"error occurred: Out of memory @ io_write - /tmp/fluentd-elblog.tmpfile, [\"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:239:in `write'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:239:in `block (3 levels) in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:237:in `loop'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:237:in `block (2 levels) in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:235:in `open'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:235:in `block in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:234:in `open'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:234:in`inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:259:in `block in get_file_from_s3'\", \"/usr/lib/ruby/2.7.0/tempfile.rb:332:in `create'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:253:in `get_file_from_s3'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:153:in `block in input'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:138:in `each'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:138:in `input'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/timer.rb:80:in `on_timer'\", \"/usr/lib/ruby/gems/2.7.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run_once'\", \"/usr/lib/ruby/gems/2.7.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'\"]"}
Is that because we`re using Ruby 2.7.0?
My fluentd config:
Hello. I've encountered with such an issue. This is the full stack trace of the error:
2021-03-03 07:31:57.132920493 +0000 fluent.warn: {"message":"error occurred: Out of memory @ io_write - /tmp/fluentd-elblog.tmpfile, [\"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:239:in `write'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:239:in `block (3 levels) in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:237:in `loop'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:237:in `block (2 levels) in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:235:in `open'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:235:in `block in inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:234:in `open'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:234:in`inflate'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:259:in `block in get_file_from_s3'\", \"/usr/lib/ruby/2.7.0/tempfile.rb:332:in `create'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:253:in `get_file_from_s3'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:153:in `block in input'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:138:in `each'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-elb-log-1.3.2/lib/fluent/plugin/in_elb_log.rb:138:in `input'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/timer.rb:80:in `on_timer'\", \"/usr/lib/ruby/gems/2.7.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run_once'\", \"/usr/lib/ruby/gems/2.7.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'\", \"/usr/lib/ruby/gems/2.7.0/gems/fluentd-1.11.4/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'\"]"}
Is that because we`re using Ruby 2.7.0? My fluentd config: