elasticsearch 安装 linux环境配置

1、vim  /etc/sysctl.conf
fs.file-max=655350
vm.max_map_count=655350

保存之后sysctl -p使设置生效

2、vi /etc/security/limits.conf 新增

* soft nofile 655350

* hard nofile 655350

重新使用SSH登录,再次启动elasticsearch即可

猜你喜欢

转载自gangling.iteye.com/blog/2388961