Describe the bug
td-agent sometimes has CPU overload, It can be solved again througth restart agent, I'm not sure if it's due to APP's bug or td-agent's configuration problem。And the problem is hard to reproduce.
I think flush_thread_count=6, workers=6 mabe too high,
Is it possible that flush_thread_count=6&retry_forever=true causing this problem?
To Reproduce
This issue happens randomly, I'm not sure how to reproduce it.
2020-04-25 11:27:34 +0800 [warn]: #1 buffer flush took longer time than slow_flush_log_threshold: elapsed_time=21.247868629000095 slow_flush_log_threshold=20.0 plugin_id="object:3fd40c86a284"
2020-04-25 11:27:41 +0800 [warn]: #4 buffer flush took longer time than slow_flush_log_threshold: elapsed_time=20.366897790000166 slow_flush_log_threshold=20.0 plugin_id="object:3fcaf23a3638"
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5263 td-agent 20 0 1749548 474704 5180 R 103.6 2.9 32:11.28 ruby
5278 td-agent 20 0 1716780 424688 5180 S 103.6 2.6 32:09.17 ruby
5273 td-agent 20 0 2038316 336980 5300 S 100.0 2.1 32:12.73 ruby
Describe the bug td-agent sometimes has CPU overload, It can be solved again througth restart agent, I'm not sure if it's due to APP's bug or td-agent's configuration problem。And the problem is hard to reproduce. I think flush_thread_count=6, workers=6 mabe too high, Is it possible that flush_thread_count=6&retry_forever=true causing this problem?
To Reproduce This issue happens randomly, I'm not sure how to reproduce it.
Environment
Configuration
Error Log
Additional context