Why when I start Elasticsearch5.1.1 shows killed and exit?

Why when I start Elasticsearch shows killed and exit?

[es@es elasticsearch-5.1.1]$ ./bin/elasticsearch
Killed

hi, can you write here all output?
what version of java in your server?
java -version

my java version is 1.8.0_112:
[root@es-6 ~]# java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

my config of elasticsearch.yml:
cluster.name: my-application
node.name: es-6
script.inline: true
script.indexed: true
path.data: /opt/data/es
path.logs: /var/es_log
bootstrap.memory_lock: true
network.host: es-6
discovery.zen.ping.unicast.hosts: ["es-6"]
xpack.security.enabled: false

When I delete configuration bootstrap.memory_lock: true, Elasticsearch can normal boot, but add the configuration ,elasticsearch will appear what I said

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.