1.内存配置不正确
启动后,异常退出,日志打印信息/mnt/log/elasticsearch
initial heap size [1073741824] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap
解决:
/etc/elasticsearch/jvm.options
-Xms2g
-Xmx2g
修改为一致的