I’m getting a quite annoying and blocking issue on docker with:
Basically, I’m still configuring elasticsearch stack for a TEST environment, but I reached the point I need to increase the heap space.
I tried from docker compose with env variable:
ES_JAVA_OPTS: ‘-Xms2g -Xmx2g’
and from jvm.options file:
It works until 1g, but it crashes from 2g and more.
It doesn’t give me any error in the container logs, but after a while the container crashes and swarm tries to create a new container (with similar ending…) and so on.
Is there anything I’m missing in the configuration? The machine has plenty of RAM (24GB) and I don’t understand what can be the problem.
Here some specs:
docker server: 19.03.12
docker swarm mode
I’m using my own self signed certificates for open distro
machine: CentOS Linux 7