Even though my machine has 12GB of memory available and knowing that the mlockall is true, I'm not able to start elasticsearch using a HEAP SIZE larger than 7g. Is there any configuration that I'm missing?
Thanks in advance
I get the following logs using the debug mode when I restart the service.
[2017-04-16 15:26:33,094][DEBUG][bootstrap ] seccomp(SECCOMP_SET_MODE_FILTER): Function not implemented, falling back to prctl(PR_SET_SECCOMP)...
[2017-04-16 15:26:33,094][DEBUG][bootstrap ] Linux seccomp filter installation successful, threads: [app]
This also happens when I put a ES_MIN_MEM equals to ES_MAX_MEM or if I use ES_HEAP_SIZE instead.
My elasticsearch version is 2.3.2
My kernel is 3.10.0-229 of a Centos 7, it might be related with the seccomp call but it should fall back to the other function properly.
The kernel log says:
Out of memory: Kill process 6593 (java) score 546 or sacrifice child
Killed process 6593 (java) total-vm:16040776kB, anon-rss:7659632kB, file-rss:124120kB
But the machine does have enough memory.