-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fluentd not releasing log file on log rotation #2426
Labels
bug
Something isn't working
Comments
I can reproduce it:
Summary:
Result:
|
/etc/logrotate.d/td-agent coniguration is not changed, so it still affects to td-agent 4.0.1. |
fluentd uses serverengine's logger feature. |
Thanks, it seems that #2200 is also same issue. |
This was referenced Jun 13, 2022
ashie
added a commit
that referenced
this issue
Jun 13, 2022
* Enable to set interval of restarting workers See #3749 and #3768 * Fix a bug that fluentd doesn't release its own log file even after rotated by external tools Fix #2200 and #2426 Signed-off-by: Takuro Ashie <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your configuration
Tailing multiple log files
Your problem explanation. If you have an error logs, write it together.
Looks like fluentd is holding on to it's own log file during rotation and that is causing the disks to fill up event though the file is being deleted:
The text was updated successfully, but these errors were encountered: