need more virtual memory for run elk

Hi team,

i would like to help for increate virtual memory for cloud server . because i want to run elk on same and as per elk docker configuration we need more than 4GB virt mem to run .

A limit on mmap counts equal to 262,144 or more

!! This is the most frequent reason for Elasticsearch failing to start since Elasticsearch version 5 was released.


Please help how can i  increase memory for a vm
  • post-author-pic
    Myles Y
    11-14-2018

    In "/etc/sysctl.conf" add the following line "vm.max_map_count=262144". Save and close the file. Then run "sysctl -p" to reload sysctl values and pick up the new virtual memory limit. This will persist through host restarts.

    Next time you start Elasticsearch, it should pass that bootstrap check.

Looking For Team Training?

Learn More