reddey
(Ti D Ber H9m Ph Vgh)
1
[root@anonymous ~]# tiup playground --host 0.0.0.0
Note: Version constraint is resolved to v8.5.4. If you’d like to use other versions:
Use exact version: tiup playground v7.1.0
Use version range: tiup playground ^5
Use nightly: tiup playground nightly
Start pd instance: v8.5.4
Start tikv instance: v8.5.4
Start tidb instance: v8.5.4
Waiting for tidb instances ready
- TiDB: 192.168.1.8:4000 … Done
Start tiflash instance: v8.5.4
Waiting for tiflash instances ready
Waiting for tiflash instances ready
- TiFlash: 192.168.1.8:3930 … Error
我是在本地虚拟机环境中部署的,部署tiflash instance时出现了。我的内存为16G,CPU2核。
reddey
(Ti D Ber H9m Ph Vgh)
3
这是在按社区的文档部署时的报错,通常这类日志在哪个目录下?是不是要是固态硬盘才能部署tiflash?
Kongdom
(Kongdom)
4
非固态硬盘也可以部署tiflash。猜测是CPU不够的原因。
类似这种的,后面没有相关错误信息吗?
reddey
(Ti D Ber H9m Ph Vgh)
6
你的错误,我部署时没有出现,只有一个error,没有其它错误。
看不出什么问题, tikv tidb pd这些都没问题?
纯白镇的小智
(Ti D Ber Qm Qja01 M)
9
在配置文件中找到tiflash_servers 部分,添加 / 修改资源限制,试试这个办法
tiflash_servers:
- host: 192.168.1.8
port: 9000
status_port: 3930
ssh_port: 22
data_dir: /data/tidb-data/tiflash-9000
config:
server_configs:
tiflash:
memory_limit: 8G # 若机器内存只有4GB,可改为4G(最低建议4GB)
cpu_core_limit: 4 # 按机器CPU核心数调整(最低建议2核)
yaabb163
(Ti D Ber 6t45g Aux)
11
配置问题,不是部署问题,检查配置过程有没有步骤设置不对
异乡的大人
(Ti D Ber 2 Qs S2z Ws)
13
定位一下日志,看一下有么有Resource temporarily unavailable这一类的关键词