Uh oh!
There was an error while loading. Please reload this page.
LOG-3949: Vector not releasing deleted file handles - #154
Conversation
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
3cfa7d7 to
63662e2Comparesyedriko
commented
Sep 28, 2023
/test unit |
2 similar comments
syedriko
commented
Sep 28, 2023
/test unit |
syedriko
commented
Sep 28, 2023
/test unit |
63662e2 to
8391ec2Comparesyedriko
commented
Sep 28, 2023
/assign @jcantrill |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, syedriko The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
8391ec2 to
fd150a2Comparesyedriko
commented
Sep 29, 2023
@jcantrill PTAL |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
jcantrill
commented
Oct 1, 2023
/hold cancel |
@syedriko: This pull request references LOG-3949 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
For the
fileandkubernetes_logssources, introduced a new configuration variable,rotate_wait_ms, of type Duration, defaulting to practical infinity. Out of the box, this default effectively turns this feature off. It determines how long vector is going to keep trying to read from a log file that has been deleted (most likely due to log rotation, hence the name of the variable). Once that time span has expired, vector closes the file descriptor of the deleted file, thus allowing the OS to reclaim the storage space occupied by the file.This behavior is similar to that of Fluentd's tail plugin: https://docs.fluentd.org/input/tail#rotate_wait
There is also a new metric being introduced -
vector_file_deleted_given_up_total, which is a counter.JIRA:
https://issues.redhat.com/browse/LOG-3949