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

Too Many Handshakes when redirect requests consume many CPU #6913

Closed
nolouch opened this issue Aug 8, 2023 · 0 comments · Fixed by #6914
Closed

Too Many Handshakes when redirect requests consume many CPU #6913

nolouch opened this issue Aug 8, 2023 · 0 comments · Fixed by #6914
Labels

Comments

@nolouch
Copy link
Contributor

nolouch commented Aug 8, 2023

Bug Report

What did you do?

idle cluster with 20 tikv and 100 tidb

What did you expect to see?

Lower CPU usage

What did you see instead?

many CPU usages about tls handshakes:
leader server:
image

one follower server:
image

What version of PD are you using (pd-server -V)?

@nolouch nolouch added the type/bug The issue is confirmed as a bug. label Aug 8, 2023
@ti-chi-bot ti-chi-bot bot closed this as completed in #6914 Aug 9, 2023
ti-chi-bot bot added a commit that referenced this issue Aug 9, 2023
close #6913

utils: let HTTP client can reuse connections

Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Aug 9, 2023
close tikv#6913

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot bot pushed a commit that referenced this issue Aug 9, 2023
close #6913

utils: let HTTP client can reuse connections

Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: nolouch <nolouch@gmail.com>
ti-chi-bot bot pushed a commit that referenced this issue Aug 9, 2023
close #6913

utils: let HTTP client can reuse connections

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: nolouch <nolouch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant