elk- common installation errors

错误1: max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
Workaround: Edit the file /etc/security/limits.conf at the end, add the following configuration can, test user to execute a program to start
[test@ghs ~]# vim /etc/security/limits.conf
Test soft nofile 65536
test hard nofile 65536
Log back after the test user to modify, execute the following command displays the following information on success
[test@ghs ~]$  ulimit -Hn
65536
 
 
错误2: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Workaround: Edit vim /etc/sysctl.conf file, add the following configuration to
vm.max_map_count = 655360
Execute the following command shown below, indicating successful execution can start the program again
[root@ghs log]# sysctl -p
vm.max_map_count = 655360

Guess you like

Origin www.cnblogs.com/douyi/p/11573873.html
Recommended