Thanos compact iterating way too slowly #8829
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was using thanos compact and noticed compactions regularly completing. After adding another (not the first) otel services writing to our prometheus HA pair, we got an alert for compactions not completing. This may be unrelated but occurred around the same time.
Our original args were:
To attempt to speed up compactions our new args are:
We are seeing no errors in the logs (just continuous attempts to down), the compactions never complete, blocks still sync, and the data directory gets stuck on one compaction using one ~ 1 CPU memory maxing out.
The blocks do not seem too large.

Details of overlapping blocks
Then similarly repeated for
prom_team: obs
replica: prometheus-server-1
The two smaller blocks have this hint in the meta,json
The longest I have attempted to let it run with the new config is roughly 48 hours without a single compaction finished.
Beta Was this translation helpful? Give feedback.
All reactions