Installing TiDB 6.1.3

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

Original topic: 安装tidb6.1.3

| username: 谢斌1204

Error installing TiDB 6.1.3: TiKV deployment failed. The machine where TiKV is being installed previously had the DM tool deployed.
tiup-cluster-debug-2022-12-16-16-18-39.log (915.7 KB)

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

2022-12-16T16:18:39.040+0800	INFO	Execute command finished	{"code": 1, "error": "init config failed: 10.105.1.148:20160: executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@10.105.1.148:22' {ssh_stderr: invalid configuration: readpool.unified.max-thread-count should be smaller than 5\n, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /data/tidb-deploy/tikv-20160/bin/tikv-server --config-check --config=/data/tidb-deploy/tikv-20160/conf/tikv.toml --pd \"\" --data-dir \"/data/tidb-data/tikv-20160\"}, cause: Process exited with status 1: check config failed", "errorVerbose": "check config failed\nexecutor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@10.105.1.148:22' {ssh_stderr: invalid configuration: readpool.unified.max-thread-count should be smaller than 5\n, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /data/tidb-deploy/tikv-20160/bin/tikv-server --config-check --config=/data/tidb-deploy/tikv-20160/conf/tikv.toml --pd \"\" --data-dir \"/data/tidb-data/tikv-20160\"}, cause: Process exited with status 1\ngithub.com/pingcap/tiup/pkg/cluster/spec.checkConfig\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/server_config.go:315\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*TiKVInstance).InitConfig\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/tikv.go:274\ngithub.com/pingcap/tiup/pkg/cluster/task.(*InitConfig).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/init_config.go:50\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:86\ngithub.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/step.go:111\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:144\nruntime.goexit\n\truntime/asm_amd64.s:1594\ninit config failed: 10.105.1.148:20160"}

invalid configuration: readpool.unified.max-thread-count should be smaller than 5\

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

Modify the adjustable range to [min-thread-count, MAX(4, CPU)].

Try changing this value.

| username: 会飞的土拨鼠 | Original post link

Do you have a screenshot of the deployment failure? If the deployment is unsuccessful, you can check the configuration file. Additionally, some server optimization steps need to be performed before deployment: TiDB 环境与系统配置检查 | PingCAP 文档中心

| username: system | Original post link

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