错误1:max file descriptors [4096] for elasticsearch process is too low
进程分配的分件太少
vi /etc/security/limits.conf 添加如下
* soft nofile 65536
* hard nofile 65536
错误2:max number of threads [3818] for user [chen] is too low, increase to at least [4096]
vi /etc/security/limits.conf 添加如下
* soft nproc 4096
* hard nproc 4096
错误3:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
vi /etc/sysctl.conf 加入
vm.max_map_count=262144
执行命令 sysctl -p ,重新登录用户生效
OK