安装tidb6.1.3

安装tidb 6.1.3 报错 tikv部署不成功, 安装tikv的机器上之前部署了dm 工具
tiup-cluster-debug-2022-12-16-16-18-39.log (915.7 KB)

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\

修改可调整范围为 [min-thread-count, MAX(4, CPU)]

修改下这个值试试。

有部署失败的截图吗,如果部署不成功,你可以查看一下配置文件。还有部署前需要做一些服务器优化处理https://docs.pingcap.com/zh/tidb/stable/check-before-deployment

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。