Elasticsearch vm.max_map_count

I’m having issues starting elasticsearch because I’m getting this error:

ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

How would we set the vm.max_map_count when drone was deployed using the helm chart?

Hi,

I have the same problem. Did you found the solution?

Thanks!

I recommend the following resources:

It sounds like you can increase max_map_count on your host machine:

sudo sysctl -w vm.max_map_count=262144

Based on my understanding of this issue, it sounds like this is of a generic Docker issue, as opposed to a problem with Drone. So if you continue to experience issues you may want to post to the Docker support forum or the Elastic Search support forum.

Yeah, I did. I have a PR on the helm charts that solves this.