- 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
需重启
Elasticsearch配置优化指南
本文详细介绍了如何解决Elasticsearch在运行过程中遇到的文件描述符限制、虚拟内存区域数量及线程数不足的问题,通过修改系统配置文件,提高Elasticsearch的性能。
1537

被折叠的 条评论
为什么被折叠?



