TiFlash Startup Failure

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

Original topic: tiflash启动失败

| username: TiDBer_W5tOpxgy

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v7.1.0
[Reproduction Path] Deploy the environment on a single machine according to the official documentation, and the tiflash fails to start when executing the command to start the cluster.
[Encountered Problem: Problem Phenomenon and Impact]
Error: failed to start tiflash: failed to start: 192.168.17.237 tiflash-9000.service, please check the instance’s log(/tidb-deploy/tiflash-9000/log) for more detail.: timed out waiting for port 9000 to be started after 2m0s
[Resource Configuration]


[Attachment: Screenshot/Log/Monitoring]

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

Is PD up? I suggest using just one TiKV for testing… resources are too limited.

| username: TiDBer_W5tOpxgy | Original post link

PD is up.

| username: redgame | Original post link

Please send more of the log context.

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

All other nodes are up, only TiFlash is not starting?

| username: TiDBer_W5tOpxgy | Original post link

The display shows up, but an error occurs when starting.

| username: TiDBer_W5tOpxgy | Original post link

The image link you provided seems to be broken or inaccessible. Please provide the text content you need translated.

| username: Kongdom | Original post link

Resources are probably insufficient; the memory is almost at 100%.

| username: cassblanca | Original post link

Isn’t 8GB of memory too little? It will work if you switch to a more powerful machine. :joy:

| username: TiDBer_W5tOpxgy | Original post link

Indeed, after switching to 24G, there were no errors.

| username: 像风一样的男子 | Original post link

For testing, just use one KV instead of three, it can save a lot of memory.

| username: TiDBer_W5tOpxgy | Original post link

Can I directly use tiup to scale down?

| username: 像风一样的男子 | Original post link

If you need to set the cluster’s KV to a single replica and then shrink it, you can tinker with it if it’s a test environment.

| username: system | Original post link

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