"skipping update of position for a file which does not currently exist" grafana agent consuming lot of memory #6774
Labels
bug
Something isn't working
needs-attention
An issue or PR has been sitting around and needs attention.
variant/operator
Related to Grafana Agent Static Operator.
variant/static
Related to Grafana Agent Static.
What's wrong?
I have deployed Static mode Kubernetes operator. And I am using this for pushing the pod logs to loki.
Recently I found out that
![image](https://private-user-images.githubusercontent.com/106735568/317157175-372d9659-33e5-4d75-92cc-d915d7357334.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyOTczNzUsIm5iZiI6MTcyNDI5NzA3NSwicGF0aCI6Ii8xMDY3MzU1NjgvMzE3MTU3MTc1LTM3MmQ5NjU5LTMzZTUtNGQ3NS05MmNjLWQ5MTVkNzM1NzMzNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMlQwMzI0MzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNGMxMzIyMTRmYmVmMTI1OWRhOTRjZjBmMzExNDgwMTE2Zjc3MGQwNDJjNjQ4MmMxZTY4YjZjMjIzMTRhMmFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.EW9Pbz5z7-De8lG3yznttE5dp686cB-g39Cq95DrBsU)
grafana-agent-logs
pod is taking a lot of memory and it is also not able to push the logs.After checking the logs of the config-reloader container I found some error messages.
After force deleting this pod the error msg in the config-reloader container is gone and grafana-agent-logs pod’s memory also comes down, it also starts pushing logs to loki.
Can you help me with the reason for the issue and with a better solution, as the current solution is not very optimal
Steps to reproduce
didn't find the reason of this bug
System information
No response
Software version
grafana agent v0.39.0
Configuration
No response
Logs
The text was updated successfully, but these errors were encountered: