r/PrometheusMonitoring • u/oOHenry • Jul 21 '26
prometheus failed compation
we are hitting a TSDB compaction failures with this error:
```text
level=ERROR source=db.go:1219 msg="compaction failed" component=tsdb err="compact [/var/lib/prometheus/metrics2/01KWYDQGNSB9F3SQ8T1WRVD7ZP /var/lib/prometheus/metrics2/01KXFSZFV0NANWCQN30T8FYJ3Y /var/lib/prometheus/metrics2/01KY1655ENZYDZB22BN655XRDH]: populate block: add series: write series data: \"/var/lib/prometheus/metrics2/01KY19HXKYAK3C86PT8KD98AEA.tmp-for-creation/index\" exceeding max size of 64GiB
add padding: \"/var/lib/prometheus/metrics2/01KY19HXKYAK3C86PT8KD98AEA.tmp-for-creation/index\" exceeding max size of 64GiB"
```
Prometheus: 3.10.0, I found nothing helpful so far, how serious is it, can this be a cardinality issue?
View all comments
Show parent comment
1
u/oOHenry Jul 21 '26
Thanks for your quick reply :)
how will I do this?
what infos do you need? :) We have one big prometheus instance which scrapes all our targets: node_exporter, ceph_exporter, application metrics and also k8s metrics and writes it via remote write to a victoria metrics cluster. The prometheus instance also does the alerting.
TSDB Head Status:
My current idea is to stabilize the prometheus instance, find if it is a real cardinally issue or just many metrics and split the targets to multiple prometheus instances