새소식

Search Engine

elasticsearch 구동 시 max file descriptors 장애 조치 방법

  • -

장애 로그

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

 

조치 방법

sudo sysctl -w vm.max_map_count=262144

 

vi /etc/security/limits.conf

@student        -       maxlogins       4
kogun82 soft    nofile  65536
kogun82 hard    nofile  65536
kogun82 hard    nproc   65536
kogun82 soft    nproc   65536
kogun82 soft    memlock unlimited
kogun82 hard    memlock unlimited

# End of file
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.