설치es(elasticsearch)에 부딪힌 문제점 요약

784 단어 elk
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[3]: max number of threads [2048] for user [elk] is too low, increase to at least [4096]

1.
vim /etc/security/limits.conf
         (elk     ,        *)
elk soft nofile 65536   
elk hard nofile 65536


2.
   root  
    :
sysctl -w vm.max_map_count=262144
    :
sysctl -a|grep vm.max_map_count
  :
vm.max_map_count = 262144
 
        ,          

    :
    /etc/sysctl.conf        
vm.max_map_count=262144
      


 3.          
	ulimit -a
              
         ulimit -u 4096
     vim /etc/security/limits.conf
     elk soft nproc 4096
     elk hard nproc 4096

좋은 웹페이지 즐겨찾기