TiKV Crash and Failure to Restart

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

Original topic: tikv宕机起不来

| username: Jolyne

[TiDB Usage Environment] Production Environment / Test / Poc
Production Environment
[TiDB Version]
5.2.1
[Reproduction Path] What operations were performed when the issue occurred
The TiKV node crashed inexplicably and could not be started. After checking, the disk and disk space were not the problem.
[Encountered Issue: Problem Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]



| username: WalterWj | Original post link

Check the system logs to see if there are any io error logs.

| username: Jolyne | Original post link

There are no errors related to IO.

| username: tidb菜鸟一只 | Original post link

Check the system monitoring at the downtime point to see if the memory is exhausted.

| username: WalterWj | Original post link

Please send the content of the toml configuration file for tikv.

| username: Jolyne | Original post link

After checking the monitoring, the memory is not fully utilized. According to the monitoring, only over 50GB is used.

| username: Jolyne | Original post link

The screenshot is not visible. Please provide the text you need translated.

| username: WalterWj | Original post link

Alright, try the scaling method to fix it first.

| username: Jolyne | Original post link

:rofl: Is there any other way? Because there was a problem with scaling up and down before. After scaling down and then scaling up, it reported that it already existed. I was told that some files need to be completely deleted.

| username: WalterWj | Original post link

It’s probably because you’re using the same IP and port. Try using a new server or changing the port.

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

It feels like the file is corrupted. Try expanding and then shrinking it.

| username: Jolyne | Original post link

There should be no problem with scaling in and out using the same IP and port. I encountered an issue with this on TiFlash before.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.