[elasticsearch]heap out of memory(OOM)# DataBase/Elasticsearch2022. 8. 19. 08:35
Table of Contents
728x90
반응형
가이드에는 힙사이즈를 전체 물리 메모리의 50%로 셋팅하는것으로 권장.
32기가라면 16기가정도로 셋팅.
Set Xms and Xmx to no more than 50% of your total memory. Elasticsearch requires memory for purposes other than the JVM heap. For example, Elasticsearch uses off-heap buffers for efficient network communication and relies on the operating system’s filesystem cache for efficient access to files. The JVM itself also requires some memory. It’s normal for Elasticsearch to use more memory than the limit configured with the Xmx setting.
힙 메모리 사용률 체크
엘라스틱서치 로그에서 확인하거나 REST API로 확인가능.
[darksharavim]curl http://localhost:9200/_cat/nodes?v
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
1xx.2xx.1xx.xx1 26 95 4 0.07 0.11 0.21 cdfhilmrstw * node-1
https://www.elastic.co/kr/blog/significantly-decrease-your-elasticsearch-heap-memory-usage
728x90
반응형
'# DataBase > Elasticsearch' 카테고리의 다른 글
[ES]Content-Type header [application/x-www-form-urlencoded] is not supported (0) | 2022.10.04 |
---|---|
logstash grok 정규표현식 (0) | 2022.09.02 |
kibana 8.2.3 install (0) | 2022.06.17 |
logstash 8.2.3 install (0) | 2022.06.17 |
[elasticsearch]bootstrap check failure (0) | 2022.06.16 |
@다크쉐라빔 :: 다크쉐라빔의 주절주절
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!