-
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
Multiple log rotations detected in logs for only 1 log rotation #3425
Comments
@ashie Looks like the latest td-agent 4.1.1 is still referring the fluentd v.1.12.3. Any idea when td-agent can have a new release for v.1.12.4 or v.1.13.0? |
We'll prepare td-agent 4.2.0 which will bundle fluentd v1.13.x.
|
@ashie I am experiencing this on 1.13.1. I think there may still be watcher leaks.
|
Hmm..., the following line fluentd/lib/fluent/plugin/in_tail.rb Line 487 in a136dcb
should use rotated_tw = @tails.delete(rotated_target_info)
|
@cosmo0920 will that fix just remove the duplicate log line or will it potentially fix my log loss? |
I think I might do. This issue might be caused by non-GCed elements on |
I'm not sure but it doesn't seem the cause of this issue, I think it's not needed.
|
Hmm.., this issue should be occurred in the different place where we already know.... |
While I was investigating #3464, I confirmed that |
As in #3464, it was reproducible on |
@agniveshadhikari It might be already fixed in the latest version (1.13.3 or 1.14.0). |
This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days |
This issue was automatically closed because of stale in 30 days |
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
We are trying to investigate why we are missing logs, While at it, we noticed that for each actual log rotation that happens, fluentd is logging multiple "detected log rotation lines".
This following three lines were printed when one log rotation happened on this container.
To Reproduce
Expected behavior
Only one log line for
[info]: #0 detected rotation
is printed.Your Environment
We are using fluentd on AKS v1.19
fluentd --version
ortd-agent --version
fluentd 1.12.3
cat /etc/os-release
uname -r
5.4.0-1047-azure
If you hit the problem with older fluentd version, try latest version first.
Your Configuration
Only pasting the kubernetes.conf file here
Your Error Log
See descirption
Additional context
The text was updated successfully, but these errors were encountered: