Page MenuHomePhabricator

grafana-server exploding in memory
Closed, InvalidPublic

Description

Earlier today grafana-server exploded in memory using up most/all of the grafana1002 VM's memory. The OOM killer kicked in which made things recover by themselves though.

As seen below the memory does spike up periodically too

2024-06-03-175432_2065x981_scrot.png (981×2 px, 118 KB)

thanos link: https://w.wiki/AG$A

From a quick look at the logs it looks like many requests to grafana image render (http://127.0.0.1:33333/render) though unclear why.

Certainly we can at least mitigate the issue by forcing memory limits on grafana-server like we did for thanos in T356788 . And also figure out the root cause

Event Timeline

I'll boldly resolve this task, we haven't seen a reoccurrence