es啟動(dòng)報(bào)錯(cuò):OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000, 986513408, 0) failed;
原因: 從報(bào)錯(cuò)來(lái)看是Not enough space,是es默認(rèn)配置的內(nèi)存較大,而本機(jī)內(nèi)存較小導(dǎo)致的
step 1: 查看空閑內(nèi)存:
free -h
step 2: 查看es配置的內(nèi)存配置文件:
cat /etc/elasticsearch/jvm.options
step 3: 修改上圖jvm文件中的內(nèi)存為合適大小文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-755532.html
step 4: 再次啟動(dòng)elasticsearch文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-755532.html
systemctl start elasticsearch
到了這里,關(guān)于es啟動(dòng)報(bào)錯(cuò):OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000, 986513408, 0)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!