# ElasticSearch Tips

On error  
```[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]```  
you need to increase the value not on the guest, but on the host server, as the guest has no access to kernel variables.

Append  
```vm.max_map_count = 262144```  
in /etc/sysctl.conf


### too many open files:

    Increase ulimits -Hn and ulimits -Sn to more than 200000
    and restart elasticearch