Thank You for your answer.
I have modified these parameters:
/etc/elasticsearch/elasticsearch.yml --> uncomment bootstrap.memory_lock: true
/etc/default/elasticsearch —> uncomment MAX_LOCKED_MEMORY=unlimited
The ES has been running about 1 day and again has been killed with that error.
The server has this configuration: 2 Core, 8GB RAM
I have tried to modified the value ES_HEAP_SIZE but I haven’t found it in /etc/elasticsearch/elasticsearch.yml or /etc/default/elasticsearch
It might get OOM’ed. having 8GB of RAM also doesn’t say much, maybe you have many processes claiming the RAM, leaving nothing left for ElasticSearch. If you feel you identified a memory leak you should report it to the ElasticSearch community or Java if you think it lays there. However such bugs are rare.