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: Couldn't write '2147483648' to 'vm/max_map_count', ignoring: Invalid argument
Jul 17 20:12:26 core.z0z0.tk systemd: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 20:12:26 core.z0z0.tk sudo: pam_unix(sudo:session): session closed for user root
Jul 17 20:12:26 core.z0z0.tk systemd: 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.
Thanks in advance