ELK 日常維護系列 1

2022-07-02 07:48:11 字數 431 閱讀 7464

動態修改開啟檔案數。

日誌集群每天有400個索引,每個索引從最大1t到20mb不均衡分布。那麼20天的檔案控制代碼使用數量的增長曲線就如圖所示。

在使用elastic 官方的安裝包進行安裝後。預設開啟檔案數是65535.對於日誌集群來說這太小了。

使用一下命令了可以檢視集群的開啟檔案數分布情況:

curl localhost:9200/_nodes/stats/process?filter_path=**.max_file_descriptors | python -m json.tool

yum

install util-linux -y

prlimit --pid309755--nofile=100w

HBASE日常維護

一,基本命令 建表 create testtable coulmn1 coulmn2 也可以建表時加coulmn的屬性如 create testtable 其中的屬性有versions 設定歷史版本數,ttl 過期時間,compression 壓縮方式,當配置lzo的情況 刪除表 drop test...

HBASE日常維護

一,基本命令 建表 create testtable coulmn1 coulmn2 也可以建表時加coulmn的屬性如 create testtable 其中的屬性有versions 設定歷史版本數,ttl 過期時間,compression 壓縮方式,當配置lzo的情況 刪除表 drop test...

hbase日常維護

一,基本命令 建表 create testtable coulmn1 coulmn2 也可以建表時加coulmn的屬性如 create testtable 其中的屬性有versions 設定歷史版本數,ttl 過期時間,compression 壓縮方式,當配置lzo的情況 刪除表 drop test...