目前安装的是4.0 RC的版本,在grafana上看到 tikv只有7G,但是我的配置是32G。如何确认TiKV到底占了内存空间。
目前检查的位置有
1、TiKV config
[appdeploy@dcn-tidb-cluster1-p-l-02:/data31/tidb-deploy/tikv-20160/conf]$cat tikv.toml
# WARNING: This file was auto-generated. Do not edit! All your edit might be overwritten!
# You can use 'tiup cluster edit-config' and 'tiup cluster reload' to update the configuration
# All configuration items you want to change can be added to:
# server_configs:
# tikv:
# aa.b1.c3: value
# aa.b2.c4: value
[readpool]
[readpool.coprocessor]
use-unified-pool = true
[readpool.storage]
use-unified-pool = false
[readpool.unified]
max-thread-count = 8
[server]
[server.labels]
host = "tikv1"
[storage]
[storage.block-cache]
capacity = "32GB"
2、TiKV的启动日志也是32G。
3、pd-ctl上,没有发现有占用的内存大小。
监控如下,到底是监控问题还是我配置有问题