Skip to content

ElasticSearch ‐ Trouble Shooting

dnwls16071 edited this page Apr 14, 2025 · 1 revision

📚 문서 색인 불가 트러블 슈팅

  • 노드 디스크 사용량이 100%가 되면 노드 운영체제도 정상적으로 동작하지 않는다.
  • ElasticSearch에는 디스크 사용량이 일정 수준 이상 되면 더 이상 색인하지 않도록 하는 보호장치가 있다.
이름 의미
cluster.routing.allocation.disk.threshold_enabled 보호장치를 사용할 것인지 아닌지를 설정한다
cluster.routing.allocation.disk.watermark.low 기본값은 85%이고 이 값보다 높아지면 더 이상 샤드를 배치하지 않는다.
cluster.routing.allocation.disk.watermark.high 기본값은 90%이고 이 값보다 높아지면 샤드들을 다른 데이터 노드로 옮기기 시작한다.
cluster.routing,allocation.disk.watermark.flood_stage 기본값은 95%이고, 이 값보다 높아지면 더 이상 색인을 하지 않는다.

❗문제 해결 방법

  • 데이터 노드를 증설하거나 불필요한 인덱스를 삭제해서 디스크 공간을 확보한다.
  • 디스크 공간 확보 후 Read-Only 상태 인덱스들을 명시적으로 풀어준다.

📖 Java

📖 Kotlin

📖 Coroutine

📖 Spring

📖 Spring Security

📖 Spring Batch

📖 Reactive Programming

📖 Database

📖 MySQL

📖 Redis

📖 JPA

📖 QueryDsl

📖 MSA

📖 Kafka

📖 Apache Flink

  • [Apache Flink - Apache Flink Architecture]
  • [Apache Flink - Stream Processing]
  • [Apache Flink - Data Stream API & Window]
  • [Apache Flink - State Management]

📖 HTTP

📖 AWS

📖 Docker

📖 Kubernetes

📖 CI/CD

📖 Nginx

📖 Monitoring🥈

  • [Monitoring - Log Concept]
  • [Monitoring - Log Level & Filter]
  • [Monitoring - Logback]
  • [Monitoring - Log Collection with ELK Stack]
  • [Monitoring - Log Monitoring with Kibana]
  • [Monitoring - Building a Monitoring System with Spring Boot Actuator]
  • [Monitoring - Server Monitoring with Prometheus and Grafana with Discord Alerts]

📖 Test

📖 Effective Java 3/E

📖 Kotlin Academy - Effective Kotlin

📖 Kotlin Academy - 핵심편

📖 스프링으로 시작하는 리액티브 프로그래밍

📖 가상 면접 사례로 배우는 대규모 시스템 설계 기초 1

📖 가상 면접 사례로 배우는 대규모 시스템 설계 기초 2

📖 Clean Code

📖 리팩토링 2판

📖 주니어 백엔드 개발자가 반드시 알아야 할 실무 지식

📖 GraphQL

Clone this wiki locally