grafana / helm-charts

Apache License 2.0
1.63k stars 2.26k forks source link

Promtail memory leak issue #2464

Open Bhrikuty opened 1 year ago

Bhrikuty commented 1 year ago

Hello,

Scenario: I am using loki distributed helm chart "https://github.com/grafana/helm-charts/tree/main/charts/loki-distributed" and created promtail manifest file which creates namespace, service account, daemon set, configmap, cluster role, role bindings. All this I am deploying in an AKS cluster.

Issue: I am facing promtail memory leak issue as I am constantly getting alerts of " Promtail memory usage 90% exceeded" . I could not find anything helpful in my pod logs. Below is the screenshot from the memory leak issue:

image

Could someone please help me figure out what might be the problem here, thank you in advance!

Rohlik commented 18 hours ago

Duplicate of https://github.com/grafana/loki/issues/8054.