lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
docker-compose up setup
waiting for elasticsearch
eventually times out
viewing the containers, with dozzle,
I see elk_elasticsearch_1 start, heavy cpu, and io, run for 30 seconds, quit and restart
there are 31 log files, each ends with (number may be different)
[2024-04-09T19:21:38.742+0000][121][info ][gc,heap,exit] Heap
[2024-04-09T19:21:38.742+0000][121][info ][gc,heap,exit] garbage-first heap total reserved 524288K, committed 524288K, used 121381K [0x00000000e0000000, 0x0000000100000000)
[2024-04-09T19:21:38.742+0000][121][info ][gc,heap,exit] region size 4096K, 27 young (110592K), 7 survivors (28672K)
[2024-04-09T19:21:38.742+0000][121][info ][gc,heap,exit] Metaspace used 48062K, committed 49280K, reserved 1114112K
[2024-04-09T19:21:38.742+0000][121][info ][gc,heap,exit] class space used 5807K, committed 6336K, reserved 1048576K
docker-compose version 1.29.2, build 5becea4c
Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04
this same procedure on mac os worked perfectly..
out of space, index inside container, need it outside..
need to fix bug in logstash, using uptime-kuma to validate availability, logstash writes a record for each touch (http get) , tho no data is present.. database full..
elasticsearch:
build:
context: elasticsearch/
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro,Z
- ./elasticsearch/data:/usr/share/elasticsearch/data
- ./elasticsearch/logs:/usr/share/elasticsearch/logs
ports:
- 9200:9200
- 9300:9300
environment:
node.name: elasticsearch
ES_JAVA_OPTS: -Xms512m -Xmx512m
# Bootstrap password.
# Used to initialize the keystore during the initial startup of
# Elasticsearch. Ignored on subsequent runs.
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
discovery.type: single-node
networks:
- elk
restart: unless-stopped
I added the data volume path for docker host storage of the indexes,etc
org.elasticsearch.server@8.13.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)\nCaused by: java.io.IOException: failed to obtain lock on /usr/share/elasticsearch/data\n\tat
Problem description
clone from github ubuntu 20.04
docker-compose up setup waiting for elasticsearch eventually times out
viewing the containers, with dozzle, I see elk_elasticsearch_1 start, heavy cpu, and io, run for 30 seconds, quit and restart there are 31 log files, each ends with (number may be different)
docker-compose version 1.29.2, build 5becea4c Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04
this same procedure on mac os worked perfectly..
out of space, index inside container, need it outside.. need to fix bug in logstash, using uptime-kuma to validate availability, logstash writes a record for each touch (http get) , tho no data is present.. database full..
docker logs
compose file for search
I added the data volume path for docker host storage of the indexes,etc