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 upThe memory Prometheus uses is going up and up, crashed my machine #3027
Comments
gogoods
changed the title
The memory Prometheus is using is going up and up, never stop
The memory Prometheus is using is going up and up, crashed my machine
Aug 7, 2017
gogoods
changed the title
The memory Prometheus is using is going up and up, crashed my machine
The memory Prometheus uses is going up and up, crashed my machine
Aug 7, 2017
This comment has been minimized.
This comment has been minimized.
|
By the way, after my machine crashed, I restarted my machine and Prometheus, then the crashrecovery started, what drives me crazy is that crashRecovery spent quite a long time, more than one hour, and still not finished
WTF!!! the data path is 300+MB. Help me |
This comment has been minimized.
This comment has been minimized.
|
Please direct usage questions to the Prometheus users mail list. |
fabxc
closed this
Aug 7, 2017
This comment has been minimized.
This comment has been minimized.
|
You have a lot of metrics in your database. Depending on how many are active at the same time, 32GiB of RAM is probably way too small. What you describe is the expected behavior. You need to tweak flags and/or your setup and/or move to a bigger machine. Discussing those things makes more sense if it happens on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your questions, and the whole community can benefit from the answers provided. |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 See, I just use the default configuration. |
This comment has been minimized.
This comment has been minimized.
|
As said, please bring your questions to the prometheus-users mailing list. |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 okok, |
This comment has been minimized.
This comment has been minimized.
|
Q1: Does Prometheus support dynamic granularity storage like rrdtool? For example: just like the granularity can be adjusted dynamicly by the peroid in storage. If not, will Prometheus support this function in the near future? |
This comment has been minimized.
This comment has been minimized.
|
Q2: I want to store nearly 2000 machines' metrics and there are 70 metrics of each machine, so what kind of configuration or performance of my Prometheus server needs at least? Looking forward to your suggestion. Best regard! |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

gogoods commentedAug 7, 2017
prometheus, version 1.7.1
I run Prometheus with default configuration, but its memory is going up and up, my machine's mem is 32G, and Prometheus crashed my machine.
Even though I configured Prometheus with specified mem-chunks, like this:
but the memory problem still happens.
Why?