Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upReloading Prometheus 2.0 has significant memory spikes #3112
Comments
This comment has been minimized.
This comment has been minimized.
siavashs
commented
Nov 7, 2017
This comment has been minimized.
This comment has been minimized.
julianvmodesto
commented
Apr 10, 2018
•
julianvmodesto
referenced this issue
Apr 19, 2018
Closed
Allow configuring .spec.livenessProbe.initialDelaySeconds > 300 #658
simonpasquier
referenced this issue
Sep 6, 2018
Closed
config reloads cause huge increase in memory #3858
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


fabxc commentedAug 25, 2017
Since every scraper has a rather large cache now for all staleness handling and usage of
AddFasta reload causes severe memory spikes of up to 2x.On reload we terminate all scrapers as the configuration might have changed. In 2.0, each scraper carries a rather large cache around for staleness handling and usage of
AddFast. Those caches are dropped and get re-created for all the "new" targets. The same happens with the known buffer sizes for each scraper.We could investigate not purging all scrapers and instead try to hot-reload them as well where necessary. This needs some very careful consideration though.
@brian-brazil