I am running elk stack in docker environment running on coreos but I cannot stat the elasticsearch because vm.max_map_count needs value 2147483648 but the default is 65530.
I have tried creating a config file with that value but I get the following error:
-- Unit systemd-sysctl.service has begun starting up.
Jul 17 20:12:26 core.z0z0.tk systemd-sysctl[741]: Couldn't write '2147483648' to 'vm/max_map_count', ignoring: Invalid argument
Jul 17 20:12:26 core.z0z0.tk systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 20:12:26 core.z0z0.tk sudo[717]: pam_unix(sudo:session): session closed for user root
Jul 17 20:12:26 core.z0z0.tk systemd[1]: Failed to start Apply Kernel Variables.
-- Subject: Unit systemd-sysctl.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
I know this is not exactly elasticsearch related but maybe there is someone who came up with a solution for this issue.
Please show how you have configured the ES configuration, there is something wrong.
While vm.max_map_count is ok with 65530, ES specific value should be 2^18 (262144), not 2^31 (2147483648). 2^31 is impossible to set by sysctl because this number does not fit into a positive integer value, the maximum integer is 2^31-1 and should not be tried for vm.max_map_count.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.