Abnormal Restart of tidb-server

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb-server异常重启

| username: tug_twf

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version] 5.1.4
[Reproduction Path] What operations were performed that caused the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]
tidb-server abnormal restart
goroutine 43974984533 [IO wait]:
internal/poll.runtime_pollWait(0x7faae33dc580, 0x72, 0xffffffffffffffff)
/usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0bb92dc18, 0x72, 0x4000, 0x4000, 0xffffffffffffffff)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(…)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0bb92dc00, 0xc19b6f2000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0bb92dc00, 0xc19b6f2000, 0x4000, 0x4000, 0x309e238, 0x0, 0x0)
/usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc05e94c578, 0xc19b6f2000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:183 +0x91
github.com/blacktear23/go-proxyprotocol.(*proxyProtocolConn).Read(0xc0e9c68600, 0xc19b6f2000, 0x4000, 0x4000, 0x10dc2a2, 0xc00e1ad4d0, 0xce346410)
/nfs/cache/mod/github.com/blacktear23/go-proxyprotocol@v0.0.0-20180807104634-af7a81e8dd0d/proxy_protocol.go:293 +0x294
bufio.(*Reader).Read(0xc0e9c686c0, 0xc10d31b228, 0x4, 0x4, 0xc0bb92dc00, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:227 +0x222
github.com/pingcap/tidb/server.bufferedReadConn.Read(...)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/buffered_read_conn.go:30
io.ReadAtLeast(0x3bcd920, 0xc0bd466e28, 0xc10d31b228, 0x4, 0x4, 0x4, 0xc05e94c578, 0x0, 0x0)
/usr/local/go/src/io/io.go:328 +0x87
io.ReadFull(…)
/usr/local/go/src/io/io.go:347
github.com/pingcap/tidb/server.(*packetIO).readOnePacket(0xc10bc506c0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/packetio.go:85 +0x85
github.com/pingcap/tidb/server.(*packetIO).readPacket(0xc10bc506c0, 0x4d5c959e707796, 0x57b8e60, 0x0, 0x57b8e60, 0x0)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/packetio.go:116 +0x4f
github.com/pingcap/tidb/server.(*clientConn).readPacket(...)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:361
github.com/pingcap/tidb/server.(*clientConn).Run(0xc0bec3c400, 0x3c187d8, 0xc0a3183920)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:833 +0x1c5
github.com/pingcap/tidb/server.(*Server).onConn(0xc001a0ab60, 0xc0bec3c400)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/server.go:485 +0xa7e
created by github.com/pingcap/tidb/server.(*Server).Run
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/server.go:388 +0x8d5

| username: xfworld | Original post link

Did you perform any operations before and after the restart?

| username: 裤衩儿飞上天 | Original post link

Is there any abnormality with the disk?

| username: 我是咖啡哥 | Original post link

How about checking the operating system logs?