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 upIs it possible to disable crash recovery? #3625
Comments
This comment has been minimized.
This comment has been minimized.
|
It makes more sense to ask questions like this 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 question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Dec 26, 2017
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil I note there are a lot of these. Would it be worth adding some variant of this to the issue template? |
This comment has been minimized.
This comment has been minimized.
|
There's only a handful, and it's no longer relevant with 2.0. |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil I meant some variant of... "It makes more sense to ask questions like this 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 question, and the whole community can benefit from the answers provided." |
This comment has been minimized.
This comment has been minimized.
|
Ah, we already have something for that: https://raw.githubusercontent.com/prometheus/prometheus/master/.github/ISSUE_TEMPLATE.md The rate of such questions has dropped since that went in, but they've never gone completely away. |
This comment has been minimized.
This comment has been minimized.
|
Oh I see - it doesn't show up in the rendered version in the GitHub Web UI. |
This comment has been minimized.
This comment has been minimized.
|
Yeah, that's how you have it show up when an issue is being created but not in the issue itself. |
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. |
paragsomani commentedDec 26, 2017
•
edited
What did you do?
I have a prometheus server deployed on openshift. We are monitoring different pods, kublets etc. Ingestion rate is ~10K/second.
Polling/scraping interval: 10s
Memory assigned: 8GiB
CPU: 6 cores
Disk type: NFS/HDD
storage.local.target-heap-size: 5.7GiB
retention period: 1h
With above config, prometheus frequently runs into rushed mode(with urgency score 1) and resulting less scraping of data. If we are trying to stop it(using SIGTERM) it takes too much time(in openshift grace period of shutdown is 15m), and still does not gets shutdown gracefully. This causes crash recovery of data which again causes delay in start for 15-20m.
Can you advice, whether i can disable with crash recovery of data, so that i can work with some loss of data?
What did you expect to see?
Disabling of crash recovery.
What did you see instead? Under which circumstances?
Environment
openshift
openshift 3.5
Prometheus version:
v 1.8.2
Alertmanager version:
NA