Closed dmr closed 7 years ago
I changed the value in host machine:
sysctl -w vm.max_map_count=262144
And then the restarts stopped for now.
--> I think dokku-elasticsearch supports elasticsearch 5.2.0 but the image adds some constraints to the host. Do I understand this correctly?
@dmr these constraints come from ElasticSearch 5.2.0, not this plugin. Check this out: https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
Ok, this issue is resolved :)
I installed the elasticsearch 5.2.0 image using
export ELASTICSEARCH_IMAGE_VERSION="5.2.0"
. The installation was ok, but the installed image keeps restarting.This is what the logs show:
Looks like
vm.max_map_count
is too small.https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
--> How can I adjust sysctl inside an image?