엘라스틱 구동시 에러 발생 처리 방법을 까먹을까봐 정리해둔다.
1. max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [524288] 에러가 발생하는 경우
vi /etc/sysctl.conf
vm.max_map_count = 524288
2. bootstrap checks failed memory locking requested for elasticsearch process but memory is not locked
vi /etc/security/limits.confe
elasticsearch soft nofile 65536
elasticsearch hard nofile 65536
elasticsearch soft nproc 65536
elasticsearch hard nproc 65536
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
'Elasticsearch(엘라스틱서치)' 카테고리의 다른 글
[elasticsearch] circuit_breaking_exception 에러 처리 (0) | 2022.10.25 |
---|---|
[Elasticsearch] N-gram을 사용하여 인물 이름 검색 구현 (0) | 2021.06.21 |
[Elasticsearch] 엘라스틱서치 한글 형태소 분석기 노리(nori) 설치하기 (0) | 2020.11.30 |
[Elasticsearch, Kibana] 엘라스틱 서치, 키바나 로컬 환경에 구축하기 (0) | 2020.11.30 |