目录
创建ES数据、日志及快照存储目录(ES索引空间需求量大,需选择较大存储空间的路径)
修改句柄数限制
- 修改句柄数
vim /etc/security/limits.conf
末尾添加以下内容
* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096
重启主机后生效
目录
创建ES数据、日志及快照存储目录(ES索引空间需求量大,需选择较大存储空间的路径)
vim /etc/security/limits.conf
末尾添加以下内容
* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096
重启主机后生效