mirror of https://github.com/prometheus/prometheus
Evict chunk descs of all unloaded chunks during maintenance. (#2297)
Keeping these around has two problems: 1) Each desc takes 64 bytes, 10 of them is 640B. This is a lot of overhead on a 1024 byte chunk. 2) It can take well over a week to reach a point where this and thus Prometheus memory usage as a whole enters steady state. This makes RAM estimation very hard for users, and makes it difficult to investigate things like memory fragmentation. Instead we'll wipe them during each memory series maintenance cycle, and if a query pulls them in they'll hang around as cache until the next cycle.pull/2306/head
parent
bed4635802
commit
93b70ee4ea
Loading…
Reference in new issue