Comments (9)
This is on certain query: graph?g0.range_input=2w&g0.end_input=2017-11-23%2013%3A48&g0.expr=go_goroutines&g0.tab=0
(after some time and then 100% reproducible)
from thanos.
This started happening just after you started compaction again?
from thanos.
well not really. I was doing lot's of queries for different things and it started on certain query after some time.. so not sure if there is any correlation with compaction. (new compactor is running 1,5h)
from thanos.
Yes, did you ever see this happen before that though?
from thanos.
nope
from thanos.
I mean this ultimately just seems like some series entries get a good bit longer than the 4KB we expected.
It seems generally possible given we generated a lot of chunks initially with out 5s scrape interval. If you compact a week worth of those together, the series entry has to reference several hundred chunks.
13KB of chunk-indexing data for a single series in a single block actually makes me a bit worried :) But ultimately anything becomes worrisome if you keep the high resolution in long-term storage.
The answer here is basically to just bump the range we fetch per series.
from thanos.
I just hit it as well. It seems indeed to be non-deterministic for the same query over the same time range... that's rather odd though.
from thanos.
Got 'fixed' by bumping the maximum series size we are reading. Anything fully save will require upstream changes to the storage format.
from thanos.
Revisiting this as we saw some issues of violating this again e.g #552, plus investigate estimating postings
entry size as well here: #1839
Given just one error, it might still not worth to change. Just leaving the calculation for max size of series entry:
- Max varint lengths: https://github.com/golang/go/blob/master/src/encoding/binary/varint.go#L19
- max series entry size in bytes: 10 (max uvarint64) + 2 * 5 (max uvarint32) * a number of labels pairs + 10 (max uvarint64) + 3 * 10 (max uvarint64) * chunks
from thanos.
Related Issues (20)
- go-grpc-prometheus is deprecated
- Compactor: Workload identity stopped working after upgrade to v0.34.0 HOT 2
- frontend, store: query cancel floods logs with error messages related to redis cache context cancel
- Change the reflect package to an unsafe package
- increase/rate got abnormally large result on aggregated data sources HOT 6
- Index header creation is not windows compatible HOT 2
- Constant compactor warnings due to deletion delay HOT 3
- Thanos Compactor not pruning old data HOT 2
- S3 bucket Access Denied when retrieving credentials using Amazon EKS Pod Identity HOT 4
- Add a source label to the `thanos_rule_evaluation_with_warnings_total` metric
- Is Thanos FIPS compliant? HOT 2
- Thanos receiver is unable to ingest data stating msg="only metadata from client; metadata ingestion not supported skipping” HOT 1
- receive: Issue with hashring configuration leading to "amount of endpoints needs to be larger than replication factor" error HOT 1
- Dedup Index Cache requests HOT 1
- Dedup ExpandPostings call
- receive-distributor: SIGSEGV and workbuf is not empty HOT 6
- alert for `receive` not uploading triggers on empty block writes
- Thanos generates a lot of warnings when Prometheus creates empty chunks
- [Compact] duplicated blocks with different id but same data
- Support random delay before upload blocks on sidecar HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thanos.