Comments (4)
@hczhu-db What version of Thanos are you running? I think we used to see this issue. However, I think after several rounds of fixes around some race conditions when fetching chunks, I haven't seen this issue for a while.
We are running 0.34.1
with our own changes on top of it. Those changes are mainly for observability (like new metrics and logs) and Compactor skipping overlapping block files.
from thanos.
I encountered the same panic and found that the chunk pool returns a slice shorter than required.
panic: runtime error: slice bounds out of range [:2297] with capacity 2129
goroutine 4034779 [running]:
github.com/thanos-io/thanos/pkg/store.(*bucketChunkReader).loadChunks(0xc0914ad920, {0x35f4b28, 0xc091ff2a00}, {0xc093280000, 0x317, 0x317?}, {0xc0914b5968, 0x2, 0x2}, 0x29, ...)
/thanos/thanos/pkg/store/bucket.go:3542 +0x1118
github.com/thanos-io/thanos/pkg/store.(*bucketChunkReader).load.func4()
/thanos/thanos/pkg/store/bucket.go:3476 +0x11b
golang.org/x/sync/errgroup.(*Group).Go.func1()
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x56
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4034046
/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:72 +0x96
from thanos.
@hczhu-db What version of Thanos are you running?
I think we used to see this issue. However, I think after several rounds of fixes around some race conditions when fetching chunks, I haven't seen this issue for a while.
from thanos.
I also got the following error interleaving with slice bounds out of range
error. More weirdly, the same range query can work or trigger either error if it's run multiple times.
MinTime: 1708874139848 MaxTime: 1711214139848: rpc error: code = Unknown desc = receive series from 01HSED6EP817R1VPXQCS73ZGDA: load chunks: populate chunk: allocate chunk bytes: pool exhausted
from thanos.
Related Issues (20)
- Thanos-store: Store Pod is not able to load certain blocks from object storage HOT 1
- query: Internal Server Error unknown targetHealth: "unknown" when trying to open the targets page
- Receive: high in flight requests and high context deadline exceeded and ingestion latency in main branch HOT 9
- Rate query failing from Grafana HOT 2
- receive: memory spikes during tenant WAL truncation HOT 7
- Thanos receive context deadline exceeded: Permanent error: Post \"http://obs-thanos-receive.xxxsvc.cluster.local:19291/api/v1/receive\": context deadline exceeded HOT 2
- Thanos Store fills up the entire hard disk at startup HOT 3
- Support for encryption in transit for Memcached HOT 3
- Why does thanos query-frontend not support multiple downstream addresses?
- Thanos query fanout has high latency when a strict-store is unavailable HOT 3
- Ruler UI: `alert.query-template` is not honored inside the Rules UI HOT 4
- [Thanos Storegateway ]"failed to read index-header from disk; recreating" path=/data/01H1K45K0FRT36S1RCAWHW7R9A/index-heade HOT 1
- Adding User Agent to HTTP Logs
- Compact: Display TODO plan HOT 7
- compactor: does not compact 4 consecutive 2-hour blocks HOT 6
- compactor: series not 16-byte aligned error HOT 2
- Improved file access logging
- Sidecar: reporting as ready on startup when no Prometheus process is running
- tools bucket: Add ability to discover external labels from prometheus address for `upload-blocks` HOT 1
- Thanos Sidecar - Flush Endpoint HOT 9
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.