欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

启动elasticsearch报错

程序员文章站 2024-03-25 12:50:46
...
  1. 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

需重启

  1. 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

需重启

上一篇: Elasticsearch启动报错

下一篇: