This is a kernel parameter and requires a reboot.

It is bad habit to enforce kernel parameter change from an application.
This is due to the administrator.

Note that increasing vm.max_map_count is only required for applications
that use many small mmap calls (with mlockall, Elasticsearch does not). A
number which is too high will potentially increase memory consumption on
the server and reduce performance.

Jörg

On Tue, Oct 28, 2014 at 3:53 PM, Suny <[email protected]> wrote:

> Hi. We checked our elasticsearch and OS settings, and found that the
> system parameter vm.max_map_count was too low. It was still the linux
> default, 65530, but should be increased to 262144. This value is set in
> /usr/lib/sysctl.d/elasticsearch.conf (and also in
> /etc/sysconfig/elasticsearch, MAX_MAP_COUNT=262144). But we have to call
> "sysctl -p /usr/lib/sysctl.d/elasticsearch.conf" for this to take effect,
> or reboot the server. I don't know if anything speaks against doing stuff
> like this in the rpm's install scripts. If it's OK, please add it. This was
> the behaviour on RHEL6 and CentOS6 with the
> rpms elasticsearch.noarch 1.2.1-1 and probably also 1.0.1.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/521c23f0-5f2c-4479-b224-34f4542f1291%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/521c23f0-5f2c-4479-b224-34f4542f1291%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHmyO3QJwakrDMH950pbDevsdbGdNQ86Zzf0k6Ysa9SLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to