Seeking Help for TiFlash Startup Failure

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

Original topic: tiflash启动失败请教

| username: csnowfox

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v6.4.0-linux-amd64
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Operating System Version CentOS Linux release 7.9.2009 (Core), using QingCloud host
[Attachments: Screenshots/Logs/Monitoring]
tiflash failed to start,
Error: failed to start tiflash: failed to start

Entering the tiflash-9000/scripts directory and executing sh run_tiflash.sh results in the following error:
sync …
real 0m0.005s
user 0m0.000s
sys 0m0.003s
ok

Illegal instruction
error

There is only one file tiflash_stderr.log under tiflash-9000/log, but the file content is empty.
Is this an issue with the CPU instruction set when the virtual machine was created?

| username: xfworld | Original post link

Is TiFlash an expansion process, or is this node instantiated during initialization…

Wasn’t it handled using the TiUP toolkit?

| username: Minorli-PingCAP | Original post link

What does the log look like when using tiup to operate?

| username: csnowfox | Original post link

At the beginning, I used tiup to start the cluster. When starting tiflash, it reported a timeout.
Error: failed to start tiflash: failed to start,
Under tiflash-9000/log, there is only one file named tiflash_stderr.log, but the file content is empty.

| username: csnowfox | Original post link

At the beginning, I used tiup to start the cluster on a single machine, and the log showed that starting tiflash timed out.

| username: liuzx8888 | Original post link

It might be that the memory is too small. My 16GB also couldn’t start up and timed out. After increasing it to 32GB, it started up.

| username: xfworld | Original post link

Priority should be given to meeting the minimum requirements.

| username: csnowfox | Original post link

Could you try directly executing sh run_tiflash.sh on your side? Will it report an Illegal instruction?

| username: solotzg-PingCAP | Original post link

It is recommended to refer to TiDB 6.3.0 Release Notes | PingCAP Docs
Starting from v6.3.0, deploying TiFlash on the Linux x86-64 architecture platform requires AVX2 instruction set support.
Currently, mainstream cloud hosts already support the AVX2 instruction set.

| username: wuxiangdong | Original post link

Use the tiup command. If you execute sh run_tiflash.sh separately, you will need to add many parameters afterward.

| username: csnowfox | Original post link

Resolved, thank you. Adjusted the CPU to support the AVX2 instruction set, and TiFlash has successfully started.

| username: system | Original post link

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