Closed tkavak closed 4 months ago
From https://github.com/fluent/fluentd/issues/4404
Around 2k buffer files were accumulated
It seems that the embedded Ruby can only open up to 2046 files on Windows.
On Linux, the number can be changed by
ulimit
orLimitNOFILE
. (the package changes it to65536
by default). However, on Windows, the number does not seem to be changed.So, please reduce the number of buffer files by adjusting the setting.
Describe the bug
Hello there! We use td-agent v4.5.2 (installed on windows server 2019/2022) to forward logs to fluentd(v1.16) container hosted in docker on linux VM Hers is the configuration of td-agent:
For some time target fluentd container wasn't accessible and td-agent couldn't flush buffered chunks. We noticed following errors in the td-agent.log:
The application host which td-agent is following is in running state and keeps writing logs.
To Reproduce
Stop target fluentd container which should receive logs from td-agent td-agent installed on Windows server and test app should be in running state Around 2k buffer files were accumulated
Expected behavior
Your Environment
Your Configuration
Your Error Log
Additional context