- max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
echo “* soft nofile 65535” >> /etc/security/limits.conf
echo ‘“”* hard nofile 65535” >> /etc/security/limits.conf
需重启
- max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
sysctl –w vm.max_map_count=262144 #(临时生效)
echo “vm.max_map_count=262144” >> /etc/sysctl.conf #(永久生效,需使用sysctl -p)
需重启
3.max number of threads [1024] for user [elk] is to low , incease to at least [4096]
echo “elk soft nproc 65535” >> /etc/security/limits.conf
echo “elk hard nproc 65535” >> /etc/security/limits.conf
需重启