1. 当ES服务安装之后 vim /etc/security/limits.conf 在最后输入:
es soft nofile 65536
es hard nofile 65536
2. 执行: sysctl -w vm.max_map_count=262144
1. 当ES服务安装之后 vim /etc/security/limits.conf 在最后输入:
es soft nofile 65536
es hard nofile 65536
2. 执行: sysctl -w vm.max_map_count=262144