-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
store - runtime: program exceeds 10000-thread limit #5259
Comments
Could you please dump the list of goroutines when this happens via /debug/pprof HTTP endpoint? 👁️ It's impossible to tell what's happening right now :/ |
Hello Here is the list of goroutine when thanos store gateway is crashing :
Starting option for thanos store gateway are :
|
Hello! |
Thanos, Prometheus and Golang version used:
thanos, version 0.23.1 (branch: HEAD, revision: 5327cd8)
build user: root@0acc901868e9
build date: 20211005-12:08:29
go version: go1.16.8
platform: linux/amd64
Object Storage Provider:
type: FILESYSTEM (NFS mounting point)
config:
directory: "/mnt/thanos_tsdb"
What happened:
When I try to get history for the last 45 days , thanos store crashed
What you expected to happen:
Thanos store stay up and provide me the data for the time range i have asked
How to reproduce it (as minimally and precisely as possible):
Here is the configuration of thanos store:
--http-address=0.0.0.0:19091 --grpc-address=0.0.0.0:19092 --log.level=debug --chunk-pool-size=256MB --index-cache-size=256MB --data-dir=/opt/kelkoogroup/data/thanos-storegateway --objstore.config-file=/opt/thanos/bucket_config.yaml
Full logs to relevant components:
Mar 30 16:00:43 thanos[116952]: runtime: program exceeds 10000-thread limit
Mar 30 16:00:43 thanos[116952]: fatal error: thread exhaustion
Mar 30 16:00:43 thanos[116952]: runtime stack:
Mar 30 16:00:43 thanos[116952]: runtime.throw(0x1e1e320, 0x11)
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/panic.go:1117 +0x72
Mar 30 16:00:43 thanos[116952]: runtime.checkmcount()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:701 +0xac
Mar 30 16:00:43 thanos[116952]: runtime.mReserveID(0xc000053800)
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:717 +0x3e
Mar 30 16:00:43 thanos[116952]: runtime.startm(0x0, 0xc08b7bff01)
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:2370 +0x92
Mar 30 16:00:43 thanos[116952]: runtime.wakep()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:2477 +0x66
Mar 30 16:00:43 thanos[116952]: runtime.resetspinning()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:3020 +0x59
Mar 30 16:00:43 thanos[116952]: runtime.schedule()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:3176 +0x2b9
Mar 30 16:00:43 thanos[116952]: runtime.mstart1()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:1313 +0x93
Mar 30 16:00:43 thanos[116952]: runtime.mstart()
Mar 30 16:00:43 thanos[116952]: /usr/local/go/src/runtime/proc.go:1272 +0x6e
Mar 30 16:00:43 thanos[116952]: goroutine 1 [chan receive, 2 minutes]:
Mar 30 16:00:43 thanos[116952]: github.com/oklog/run.(*Group).Run(0xc00078e588, 0xc0007ef280, 0xc000415680)
Mar 30 16:00:43 thanos[116952]: /go/pkg/mod/github.com/oklog/[email protected]/group.go:43 +0xed
Mar 30 16:00:43 thanos[116952]: main.main()
Anything else we need to know:
Environment:
uname -a
): 4.18.0-365.el8.x86_64 Initial structure and block shipper #1 SMP Thu Feb 10 16:11:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux24 vCPU 2Ghz
32Go Ram
The text was updated successfully, but these errors were encountered: