刘珍 created IOTDB-5118:
-------------------------
Summary: datanode opens too many file handles (TYPE DIR)
Key: IOTDB-5118
URL: https://issues.apache.org/jira/browse/IOTDB-5118
Project: Apache IoTDB
Issue Type: Bug
Components: mpp-cluster
Affects Versions: 1.0.0
Reporter: 刘珍
Assignee: Haiming Zhu
Attachments: image-2022-12-05-15-27-46-553.png,
image-2022-12-05-15-29-27-526.png, ip62_lsof_datanode_1.out,
ip62_lsof_datanode_2.out, lt.conf
rel/1.0 20221202 fbbca3f
1. 启动3副本3C3D 集群,config/schema/data 分别是ratis/ratis/IoT协议
2. 启动BM ,普通序列,写入顺序数据,有查询操作
OPERATION_PROPORTION=91:1:1:1:1:0:1:1:1:1:1
3. datanode 的文件句柄打开过多,运行48小时后的状态
!image-2022-12-05-15-27-46-553.png!
其中主要是打开wal文件夹的文件句柄占用过多
!image-2022-12-05-15-29-27-526.png!
测试环境
1. 192.168.10.62 / 66 /68 72CPU256GB
ConfigNode配置
MAX_HEAP_SIZE="8G"
DataNode 配置
MAX_HEAP_SIZE="192G"
MAX_DIRECT_MEMORY_SIZE="32G"
dn_max_connection_for_internal_service=300
Common配置
schema_replication_factor=3
data_replication_factor=3
iot_consensus_throttle_threshold_in_byte=536870912000
2. BM配置见附件
3. lsof 结果见附件
--
This message was sent by Atlassian Jira
(v8.20.10#820010)