Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb 7.1.0版本tidb-server出现获取tso超时、连接tikv超时、cpu负载过高等问题

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version] 7.1.0
[Reproduction Path] Not reproduced
[Encountered Problem: Problem Phenomenon and Impact]
There are many abnormal errors on the TiDB node, and panic errors also occurred. Please kindly guide to troubleshoot the issue.
[2023/12/25 10:41:58.622 +08:00] [WARN] [pd.go:152] ["get timestamp too slow"] ["cost time"=50.144859ms]
[2023/12/25 10:42:20.048 +08:00] [ERROR] [tso_dispatcher.go:178] ["[tso] tso request is canceled due to timeout"] [dc-location=global] [error="[PD:client:ErrClientGetTSOTimeout]get TSO timeout"]
[2023/12/25 10:42:20.049 +08:00] [ERROR] [tso_dispatcher.go:453] ["[tso] getTS error"] [dc-location=global] [stream-addr=http://127.0.1.151:2379] [error="[PD:client:ErrClientGetTSO]rpc error: code = Canceled desc = context canceled: rpc error: code = Canceled desc = context canceled"]
[2023/12/25 10:42:20.152 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020929] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:47920]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020955] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:48056]
[2023/12/25 10:42:20.152 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020871] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:47632]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020941] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:48034]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020937] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:47954]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020839] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:47438]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020949] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.82:57506]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020983] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:48164]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020945] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:48044]
[2023/12/25 10:42:20.152 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020923] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.64:47898]
[2023/12/25 10:42:20.153 +08:00] [WARN] [server.go:644] ["Server.onConn handshake"] [conn=1338767557106020861] [error="[server:8052]invalid sequence 0 != 1"] ["remote addr"=127.0.1.82:57118]
Subsequently, there was an alert for tidb-server panic.