Skip to content
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

v6.5.6 get goroutine pprof for pd with debug=2 report 400 error #1630

Open
mayjiang0203 opened this issue Dec 27, 2023 · 2 comments
Open

v6.5.6 get goroutine pprof for pd with debug=2 report 400 error #1630

mayjiang0203 opened this issue Dec 27, 2023 · 2 comments
Assignees
Labels

Comments

@mayjiang0203
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

What did you do?
11e06e30-186e-4f31-8637-43adada7d7d7

What did you expect to see?
no error.

Get by PD API succeeded.

sh-5.1# curl --cacert ca.crt --key tls.key --cert tls.crt https://tc-pd-0.tc-pd-peer.testbed-endless-fips-eks-fcn2l.svc:2379/debug/pprof/goroutine?debug=2 |more
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0goroutine 10773595 [running]:
runtime/pprof.writeGoroutineStacks({0x7f8d0299daf8, 0xc008708260})
        /usr/local/go/src/runtime/pprof/pprof.go:692 +0x70
runtime/pprof.writeGoroutine({0x7f8d0299daf8?, 0xc008708260?}, 0xc0005c4300?)
        /usr/local/go/src/runtime/pprof/pprof.go:681 +0x2b
runtime/pprof.(*Profile).WriteTo(0x2b1ae20?, {0x7f8d0299daf8?, 0xc008708260?}, 0xc?)
        /usr/local/go/src/runtime/pprof/pprof.go:330 +0x14b
net/http/pprof.handler.ServeHTTP({0x2c8fafd, 0x9}, {0x3900ab0, 0xc008708260}, 0x1c?)
        /usr/local/go/src/net/http/pprof/pprof.go:253 +0x4a5
net/http.(*ServeMux).ServeHTTP(0x3900ab0?, {0x3900ab0, 0xc008708260}, 0xc005b4ba00)
        /usr/local/go/src/net/http/server.go:2487 +0x149
[go.etcd.io/etcd/embed.(*accessController).ServeHTTP](http://go.etcd.io/etcd/embed.(*accessController).ServeHTTP)(0xc000915140, {0x3900ab0, 0xc008708260}, 0xc005b4ba00)
        /go/pkg/mod/[go.etcd.io/[email protected]/embed/serve.go:381](http://go.etcd.io/[email protected]/embed/serve.go:381) +0x4f9

What did you see instead?

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?
v6.5.6

@mayjiang0203
Copy link
Author

/severity moderate

@mornyx
Copy link
Collaborator

mornyx commented Jan 10, 2024

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants