Answer the question
In order to leave comments, you need to log in
Container with ElasticSearch loads cpu, how to find the reason?
Container with ElasticSearch loads the processor up to 90%
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.0
volumes:
- ./docker/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
#login and password
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
# Use single node discovery in order to disable production mode and avoid bootstrap checks
# see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
cluster.name: demo
discovery.type: single-node
Answer the question
In order to leave comments, you need to log in
How would that be normal. JVM and Elastic, which is based on it, are quite hungry for memory and CPU
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question